Panda3D

Loading...
Searching...
No Matches
dcDeclaration.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file dcDeclaration.cxx
10 * @author drose
11 * @date 2004-06-18
12 */
13
14#include "dcDeclaration.h"
15
16
17/**
18 *
19 */
20DCDeclaration::
21~DCDeclaration() {
22}
23
24/**
25 *
26 */
27 DCClass *DCDeclaration::
28as_class() {
29 return nullptr;
30}
31
32/**
33 *
34 */
35 const DCClass *DCDeclaration::
36as_class() const {
37 return nullptr;
38}
39
40/**
41 *
42 */
43 DCSwitch *DCDeclaration::
44as_switch() {
45 return nullptr;
46}
47
48/**
49 *
50 */
51 const DCSwitch *DCDeclaration::
52as_switch() const {
53 return nullptr;
54}
55
56/**
57 * Write a string representation of this instance to <out>.
58 */
59 void DCDeclaration::
60 output(std::ostream &out) const {
61 output(out, true);
62}
63
64/**
65 * Write a string representation of this instance to <out>.
66 */
67 void DCDeclaration::
68 write(std::ostream &out, int indent_level) const {
69 write(out, false, indent_level);
70}
DCClass
Defines a particular DistributedClass as read from an input .dc file.
Definition dcClass.h:44
DCDeclaration::output
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
Definition dcDeclaration.cxx:60
DCDeclaration::write
void write(std::ostream &out, int indent_level) const
Write a string representation of this instance to <out>.
Definition dcDeclaration.cxx:68
DCSwitch
This represents a switch statement, which can appear inside a class body and represents two or more a...
Definition dcSwitch.h:30
dcDeclaration.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.