Panda3D
dcDeclaration.cxx
1 // Filename: dcDeclaration.cxx
2 // Created by: drose (18Jun04)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "dcDeclaration.h"
16 
17 
18 ////////////////////////////////////////////////////////////////////
19 // Function: DCDeclaration::Destructor
20 // Access: Public, Virtual
21 // Description:
22 ////////////////////////////////////////////////////////////////////
23 DCDeclaration::
24 ~DCDeclaration() {
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: DCDeclaration::as_class
29 // Access: Published, Virtual
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 DCClass *DCDeclaration::
33 as_class() {
34  return (DCClass *)NULL;
35 }
36 
37 ////////////////////////////////////////////////////////////////////
38 // Function: DCDeclaration::as_class
39 // Access: Published, Virtual
40 // Description:
41 ////////////////////////////////////////////////////////////////////
42 const DCClass *DCDeclaration::
43 as_class() const {
44  return (DCClass *)NULL;
45 }
46 
47 ////////////////////////////////////////////////////////////////////
48 // Function: DCDeclaration::as_switch
49 // Access: Published, Virtual
50 // Description:
51 ////////////////////////////////////////////////////////////////////
52 DCSwitch *DCDeclaration::
53 as_switch() {
54  return (DCSwitch *)NULL;
55 }
56 
57 ////////////////////////////////////////////////////////////////////
58 // Function: DCDeclaration::as_switch
59 // Access: Published, Virtual
60 // Description:
61 ////////////////////////////////////////////////////////////////////
62 const DCSwitch *DCDeclaration::
63 as_switch() const {
64  return (DCSwitch *)NULL;
65 }
66 
67 ////////////////////////////////////////////////////////////////////
68 // Function : DCDeclaration::output
69 // Access : Published, Virtual
70 // Description : Write a string representation of this instance to
71 // <out>.
72 ////////////////////////////////////////////////////////////////////
73 void DCDeclaration::
74 output(ostream &out) const {
75  output(out, true);
76 }
77 
78 ////////////////////////////////////////////////////////////////////
79 // Function : DCDeclaration::
80 // Access : Published
81 // Description : Write a string representation of this instance to
82 // <out>.
83 ////////////////////////////////////////////////////////////////////
84 void DCDeclaration::
85 write(ostream &out, int indent_level) const {
86  write(out, false, indent_level);
87 }
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
void write(ostream &out, int indent_level) const
Write a string representation of this instance to <out>.
This represents a switch statement, which can appear inside a class body and represents two or more a...
Definition: dcSwitch.h:33
Defines a particular DistributedClass as read from an input .dc file.
Definition: dcClass.h:47