00001 // Filename: dcDeclaration.cxx 00002 // Created by: drose (18Jun04) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "dcDeclaration.h" 00016 00017 00018 //////////////////////////////////////////////////////////////////// 00019 // Function: DCDeclaration::Destructor 00020 // Access: Public, Virtual 00021 // Description: 00022 //////////////////////////////////////////////////////////////////// 00023 DCDeclaration:: 00024 ~DCDeclaration() { 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: DCDeclaration::as_class 00029 // Access: Published, Virtual 00030 // Description: 00031 //////////////////////////////////////////////////////////////////// 00032 DCClass *DCDeclaration:: 00033 as_class() { 00034 return (DCClass *)NULL; 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: DCDeclaration::as_class 00039 // Access: Published, Virtual 00040 // Description: 00041 //////////////////////////////////////////////////////////////////// 00042 const DCClass *DCDeclaration:: 00043 as_class() const { 00044 return (DCClass *)NULL; 00045 } 00046 00047 //////////////////////////////////////////////////////////////////// 00048 // Function: DCDeclaration::as_switch 00049 // Access: Published, Virtual 00050 // Description: 00051 //////////////////////////////////////////////////////////////////// 00052 DCSwitch *DCDeclaration:: 00053 as_switch() { 00054 return (DCSwitch *)NULL; 00055 } 00056 00057 //////////////////////////////////////////////////////////////////// 00058 // Function: DCDeclaration::as_switch 00059 // Access: Published, Virtual 00060 // Description: 00061 //////////////////////////////////////////////////////////////////// 00062 const DCSwitch *DCDeclaration:: 00063 as_switch() const { 00064 return (DCSwitch *)NULL; 00065 } 00066 00067 //////////////////////////////////////////////////////////////////// 00068 // Function : DCDeclaration::output 00069 // Access : Published, Virtual 00070 // Description : Write a string representation of this instance to 00071 // <out>. 00072 //////////////////////////////////////////////////////////////////// 00073 void DCDeclaration:: 00074 output(ostream &out) const { 00075 output(out, true); 00076 } 00077 00078 //////////////////////////////////////////////////////////////////// 00079 // Function : DCDeclaration:: 00080 // Access : Published 00081 // Description : Write a string representation of this instance to 00082 // <out>. 00083 //////////////////////////////////////////////////////////////////// 00084 void DCDeclaration:: 00085 write(ostream &out, int indent_level) const { 00086 write(out, false, indent_level); 00087 }