Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions

# DCDeclaration Class Reference

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

Inheritance diagram for DCDeclaration:

List of all members.

## Public Member Functions
DCClass | asClass ()
DCClass const | asClass ()
DCSwitch const | asSwitch ()
DCSwitch | asSwitch ()
| output (ostream out)
| Write a string representation of this instance to <out>.
| write (ostream out, int indent_level)
| Write a string representation of this instance to <out>.

## 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.

## Member Function Documentation

DCClass asClass | ( |  | ) |

DCClass const asClass | ( |  | ) |

DCSwitch const asSwitch | ( |  | ) |

DCSwitch asSwitch | ( |  | ) |

output | ( | ostream | out | ) |

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

Reimplemented in DCClass.

write | ( | ostream | out,
|  | int | indent_level
| ) |  |

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

All Classes Namespaces Functions Variables Enumerations Enumerator Properties