Panda3D
Public Member Functions
DCDeclaration Class Reference

This is a common interface for a declaration in a DC file. More...

#include "dcDeclaration.h"

Inheritance diagram for DCDeclaration:
DCClass DCKeyword DCSwitch DCTypedef

List of all members.

Public Member Functions

virtual DCClassas_class ()
virtual const DCClassas_class () const
virtual DCSwitchas_switch ()
virtual const DCSwitchas_switch () const
virtual void output (ostream &out) const
 Write a string representation of this instance to <out>.
virtual void output (ostream &out, bool brief) const =0
void write (ostream &out, int indent_level) const
 Write a string representation of this instance to <out>.
virtual void write (ostream &out, bool brief, int indent_level) const =0

Detailed Description

This is a common interface for a declaration in a DC file.

Currently, this is either a class or a typedef declaration (import declarations are still collected together at the top, and don't inherit from this object). Its only purpose is so that classes and typedefs can be stored in one list together so they can be ordered correctly on output.

Definition at line 33 of file dcDeclaration.h.


Member Function Documentation

void DCDeclaration::output ( ostream &  out) const [virtual]

Write a string representation of this instance to <out>.

Reimplemented in DCClass.

Definition at line 74 of file dcDeclaration.cxx.

void DCDeclaration::write ( ostream &  out,
int  indent_level 
) const

Write a string representation of this instance to <out>.

Definition at line 85 of file dcDeclaration.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations