|
CEDRIC
Revision_backup-2009-02
|
#include <TypedSwitch.h>
Public Types | |
| enum | ReservedTypes { UNSPECIFIED =-1, GROUP =1 } |
| typedef TypedSwitch | T |
Public Member Functions | |
| TypedSwitch (std::string className) | |
| virtual bool | childrenAllowed () |
| const std::string & | getClassName () const |
| int | getType () const |
| virtual bool | addChild (osg::Node *child) |
| virtual bool | insertChild (unsigned int index, osg::Node *child) |
| virtual bool | setChild (unsigned int index, osg::Node *child) |
| virtual bool | addChild (osg::Node *child, bool value) |
| virtual bool | insertChild (unsigned int index, osg::Node *child, bool value) |
| virtual bool | replaceChild (osg::Node *origChild, osg::Node *child) |
| virtual bool | removeChildren (unsigned int pos, unsigned int numChildrenToRemove) |
Protected Member Functions | |
| void | updateType (int type=UNSPECIFIED) |
Protected Attributes | |
| int | m_type |
| std::string | m_className |
| typedef TypedSwitch TypedSwitch::T |
|
inline |
|
inlinevirtual |
References TYPEDSWITCH_ADDCHILD_MACRO.
|
inlinevirtual |
References TYPEDSWITCH_ADDCHILD_MACRO.
|
inlinevirtual |
|
inline |
References m_className.
|
inline |
References m_type.
Referenced by updateType().
|
inlinevirtual |
References TYPEDSWITCH_ADDCHILD_MACRO.
|
inlinevirtual |
References TYPEDSWITCH_ADDCHILD_MACRO.
|
inlinevirtual |
References updateType().
|
inlinevirtual |
References updateType().
|
inlinevirtual |
References TYPEDSWITCH_ADDCHILD_MACRO.
|
inlineprotected |
References getType(), GROUP, m_type, UNSPECIFIED, and updateType().
Referenced by removeChildren(), replaceChild(), and updateType().
|
protected |
Referenced by getClassName().
|
protected |
Referenced by getType(), and updateType().
1.8.6