DCDeclaration

from panda3d.direct import DCDeclaration
class DCDeclaration

Bases: DTOOL_SUPER_BASE

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.

Inheritance diagram

Inheritance diagram of DCDeclaration

__init__(*args, **kwargs)
asClass()

C++ Interface: as_class(const DCDeclaration self) as_class(DCDeclaration self)

/**

*/

/**

*/

asSwitch()

C++ Interface: as_switch(const DCDeclaration self) as_switch(DCDeclaration self)

/**

*/

/**

*/

as_class()

C++ Interface: as_class(const DCDeclaration self) as_class(DCDeclaration self)

/**

*/

/**

*/

as_switch()

C++ Interface: as_switch(const DCDeclaration self) as_switch(DCDeclaration self)

/**

*/

/**

*/

output()

C++ Interface: output(DCDeclaration self, ostream out)

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

*/

write()

C++ Interface: write(DCDeclaration self, ostream out, int indent_level)

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

*/