#include <OSGFieldType.h>
Inheritance diagram for osg::FieldType:

Public Types | |
| typedef Field *(* | CreateFieldMethod )(void) |
| enum | Cardinality { SINGLE_FIELD, MULTI_FIELD } |
Public Member Functions | |
Constructors | |
| * | FieldType (const Char8 *szName, const Char8 *szParentName, const DataType &contentType, CreateFieldMethod createMethod, Cardinality cardinality) |
| FieldType (const Char8 *szName, const Char8 *szParentName, const DataType &contentType, CreateFieldMethod createMethod, Cardinality cardinality, const FieldType &pScanAsType) | |
Destructor | |
| *virtual | ~FieldType (void) |
Get | |
| *const DataType & | getContentType (void) const |
| Cardinality | getCardinality (void) const |
| UInt32 | getScanTypeId (void) const |
Operators | |
| *bool | operator== (const DataType &other) const |
| bool | operator!= (const DataType &other) const |
Comparison | |
| *bool | operator== (const TypeBase &other) const |
| bool | operator!= (const TypeBase &other) const |
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 |
Protected Types | |
| typedef DataType | Inherited |
Protected Attributes | |
| Cardinality | _cardinality |
| UInt32 | _uiLoadTypeId |
| const DataType & | _contentType |
| const FieldType * | _pScanAsType |
| const CreateFieldMethod | _createMethod |
Members | |
| *UInt32 | _uiTypeId |
| UInt32 | _uiTypeRootId |
| TypeBase * | _pParent |
| IDString | _szName |
| IDString | _szParentName |
Private Member Functions | |
| FieldType (const FieldType &source) | |
| prohibit default function (move to 'public' if needed) | |
| FieldType & | operator= (const FieldType &obj) |
| prohibit default function (move to 'public' if needed) | |
Friends | |
| class | FieldFactory |
Definition at line 64 of file OSGFieldType.h.
|
|
Definition at line 76 of file OSGFieldType.h. |
|
|
Reimplemented from osg::DataType. Definition at line 123 of file OSGFieldType.h. |
|
|
Definition at line 70 of file OSGFieldType.h. 00071 { 00072 SINGLE_FIELD, 00073 MULTI_FIELD 00074 };
|
|
||||||||||||||||||||||||
|
Definition at line 58 of file OSGFieldType.cpp. References osg::FieldFactory::addType(), FDEBUG, and osg::TypeBase::getCName(). 00062 : 00063 Inherited (szName, szParentName), 00064 _cardinality (cardinality ), 00065 _contentType (contentType ), 00066 _pScanAsType (NULL ), 00067 _createMethod(createMethod ) 00068 { 00069 FieldFactory::addType(this); 00070 FDEBUG (("Initialized FieldType : %s %p\n", getCName(), this)); 00071 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 73 of file OSGFieldType.cpp. References osg::FieldFactory::addType(), FDEBUG, and osg::TypeBase::getCName(). 00078 : 00079 Inherited ( szName, szParentName), 00080 _cardinality ( cardinality ), 00081 _contentType ( contentType ), 00082 _pScanAsType (&pScanAsType ), 00083 _createMethod( createMethod ) 00084 { 00085 FieldFactory::addType(this); 00086 FDEBUG (("Initialized FieldType : %s %p\n", getCName(), this)); 00087 }
|
|
|
Definition at line 93 of file OSGFieldType.cpp.
|
|
|
|
|
|
Definition at line 100 of file OSGFieldType.cpp. References _contentType. Referenced by osg::Field::getContentType(), and osg::OSGLoader::mapExtIntFieldType(). 00101 { 00102 return _contentType; 00103 }
|
|
|
Definition at line 105 of file OSGFieldType.cpp. References _cardinality. Referenced by osg::Field::getCardinality(), osg::OSGLoader::mapExtIntFieldType(), and osg::FieldContainerFactory::writeSingleTypeFCD(). 00106 { 00107 return _cardinality; 00108 }
|
|
|
Definition at line 110 of file OSGFieldType.cpp. References _pScanAsType, and osg::TypeBase::getId(). Referenced by osg::OSGLoader::getFieldType(). 00111 { 00112 if(_pScanAsType == NULL) 00113 { 00114 return getId(); 00115 } 00116 else 00117 { 00118 return _pScanAsType->getId(); 00119 } 00120 }
|
|
|
|
|
|
Definition at line 84 of file OSGDataType.cpp.
|
|
|
Definition at line 127 of file OSGTypeBase.cpp. References osg::TypeBase::_uiTypeId.
|
|
|
Definition at line 89 of file OSGDataType.cpp.
|
|
|
Definition at line 133 of file OSGTypeBase.cpp.
|
|
|
|
Definition at line 86 of file OSGTypeBase.cpp. References osg::TypeBase::_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 osg::TypeBase::_szParentName. 00099 { 00100 return _szParentName; 00101 }
|
|
|
Definition at line 104 of file OSGTypeBase.cpp. References osg::TypeBase::_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 139 of file OSGFieldType.h. |
|
|
Definition at line 128 of file OSGFieldType.h. Referenced by getCardinality(). |
|
|
Definition at line 129 of file OSGFieldType.h. |
|
|
Type stored within fields of this type Referenced by getContentType(). |
|
|
Definition at line 132 of file OSGFieldType.h. Referenced by getScanTypeId(). |
|
|
Definition at line 134 of file OSGFieldType.h. Referenced by osg::FieldFactory::createField(). |
|
|
Definition at line 114 of file OSGTypeBase.h. Referenced by osg::TypeBase::getId(), osg::FieldContainerType::isDerivedFrom(), osg::TypeBase::operator==(), and osg::TypeBase::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(), osg::TypeBase::getCName(), osg::TypeBase::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 osg::TypeBase::getCParentName(), and osg::TypeBase::getParentName(). |
1.4.3