#include <OSGTypeBase.h>
Inheritance diagram for osg::TypeBase:

Public Member Functions | |
Constructor | |
| * | TypeBase (const Char8 *szName, const Char8 *szParentName, const UInt32 uiNameSpace=0) |
Destructor | |
| *virtual | ~TypeBase (void) |
Id | |
| *UInt32 | getId (void) const |
| const IDString & | getName (void) const |
| const Char8 * | getCName (void) const |
| const IDString & | getParentName (void) const |
| const Char8 * | getCParentName (void) const |
| UInt32 | getNameSpace (void) const |
Operators | |
| *virtual bool | isDerivedFrom (const TypeBase &other) const |
Comparison | |
| *bool | operator== (const TypeBase &other) const |
| bool | operator!= (const TypeBase &other) const |
Protected Member Functions | |
Constructors | |
| * | TypeBase (const TypeBase &source) |
Protected Attributes | |
Members | |
| *UInt32 | _uiTypeId |
| UInt32 | _uiTypeRootId |
| TypeBase * | _pParent |
| IDString | _szName |
| IDString | _szParentName |
Private Member Functions | |
| void | operator= (const TypeBase &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 54 of file OSGTypeBase.h.
|
||||||||||||||||
|
Definition at line 57 of file OSGTypeBase.cpp. References _uiTypeId, osg::TypeFactory::registerType(), and osg::TypeFactory::the(). 00059 : 00060 00061 _uiTypeId (0 ), 00062 _uiTypeRootId(0 ), 00063 _pParent (NULL ), 00064 _szName (szName ), 00065 _szParentName(szParentName) 00066 { 00067 _uiTypeId = TypeFactory::the()->registerType(this); 00068 }
|
|
|
Definition at line 73 of file OSGTypeBase.cpp.
|
|
|
Definition at line 142 of file OSGTypeBase.cpp. 00142 : 00143 _uiTypeId (source._uiTypeId), 00144 _uiTypeRootId(source._uiTypeRootId), 00145 _pParent (source._pParent), 00146 _szName (source._szName), 00147 _szParentName(source._szParentName) 00148 { 00149 }
|
|
|
|
Definition at line 86 of file OSGTypeBase.cpp. References _szName. Referenced by osg::SharePtrGraphOp::compareFCs(), osg::deepClone(), osg::NodeCore::dump(), osg::Geometry::dump(), osg::Attachment::dump(), osg::VRMLFile::getFieldType(), osg::VRMLNodeDesc::prototypeAddField(), and osg::TypeFactory::registerType(). 00087 { 00088 return _szName; 00089 }
|
|
|
|
Definition at line 98 of file OSGTypeBase.cpp. References _szParentName. 00099 { 00100 return _szParentName; 00101 }
|
|
|
Definition at line 104 of file OSGTypeBase.cpp. References _szParentName, and osg::IDString::str(). Referenced by osg::TypeFactory::writeTypeDot(). 00105 { 00106 return _szParentName.str(); 00107 }
|
|
|
Definition at line 110 of file OSGTypeBase.cpp. Referenced by osg::TypeFactory::registerType().
|
|
|
Reimplemented in osg::FieldContainerType. Definition at line 119 of file OSGTypeBase.cpp. Referenced by osg::FieldContainerType::isDerivedFrom().
|
|
|
Definition at line 127 of file OSGTypeBase.cpp. References _uiTypeId.
|
|
|
Definition at line 133 of file OSGTypeBase.cpp.
|
|
|
|
|
|
Definition at line 114 of file OSGTypeBase.h. Referenced by getId(), osg::FieldContainerType::isDerivedFrom(), operator==(), and TypeBase(). |
|
|
Definition at line 115 of file OSGTypeBase.h. |
|
|
Reimplemented in osg::FieldContainerType. Definition at line 117 of file OSGTypeBase.h. |
|
|
Definition at line 119 of file OSGTypeBase.h. Referenced by osg::FieldContainerType::addDescription(), getCName(), getName(), osg::FieldContainerType::initFields(), osg::FieldContainerType::initialize(), and osg::FieldContainerType::registerType(). |
|
|
Reimplemented in osg::FieldContainerType. Definition at line 120 of file OSGTypeBase.h. Referenced by getCParentName(), and getParentName(). |
1.4.3