#include <OSGScanParseFieldTypeMapper.h>
Public Member Functions | |
Constructors | |
| * | ScanParseFieldTypeMapper (void) |
Destructor | |
| *virtual | ~ScanParseFieldTypeMapper (void) |
Set | |
| *void | setExtIntMapping (BuildInFieldTypes eBuildInType, UInt32 uiMappedType) |
| void | setIntExtMapping (UInt32 uiMappedType, BuildInFieldTypes eBuildInType) |
Map | |
| *virtual Int32 | mapExtIntFieldType (const Char8 *szFieldname, const Int32 iFieldTypeId) |
| virtual Int32 | mapIntExtFieldType (const Char8 *szFieldname, const Int32 iFieldTypeId) |
Protected Types | |
| typedef BaseT | Inherited |
| typedef Inherited::BuildInFieldType | BuildInFieldTypes |
| typedef std::map< BuildInFieldTypes, UInt32 > | IntExtMap |
| typedef std::map< UInt32, BuildInFieldTypes > | ExtIntMap |
Protected Attributes | |
Member | |
| *IntExtMap | _mIntExt |
| ExtIntMap | _mExtInt |
Private Member Functions | |
| ScanParseFieldTypeMapper (const ScanParseFieldTypeMapper &source) | |
| prohibit default function (move to 'public' if needed) | |
| void | operator= (const ScanParseFieldTypeMapper &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 54 of file OSGScanParseFieldTypeMapper.h.
|
|||||
|
Reimplemented in osg::OSGLoader. Definition at line 59 of file OSGScanParseFieldTypeMapper.h. |
|
|||||
|
Definition at line 61 of file OSGScanParseFieldTypeMapper.h. |
|
|||||
|
Definition at line 64 of file OSGScanParseFieldTypeMapper.h. |
|
|||||
|
Definition at line 66 of file OSGScanParseFieldTypeMapper.h. |
|
||||||||||
|
Definition at line 52 of file OSGScanParseFieldTypeMapper.inl. 00052 : 00053 Inherited(), 00054 _mIntExt (), 00055 _mExtInt () 00056 00057 { 00058 Inherited::setMapTypeIds(true); 00059 }
|
|
||||||||||
|
Definition at line 65 of file OSGScanParseFieldTypeMapper.inl.
|
|
||||||||||
|
|
|
||||||||||||||||
|
Definition at line 81 of file OSGScanParseFieldTypeMapper.inl. References osg::ScanParseFieldTypeMapper< BaseT >::_mIntExt. 00084 { 00085 _mIntExt[eBuildInType] = uiMappedType; 00086 }
|
|
||||||||||||||||
|
Definition at line 73 of file OSGScanParseFieldTypeMapper.inl. References osg::ScanParseFieldTypeMapper< BaseT >::_mExtInt. 00076 { 00077 _mExtInt[uiMappedType] = eBuildInType; 00078 }
|
|
||||||||||||||||
|
Reimplemented in osg::OSGLoader. Definition at line 92 of file OSGScanParseFieldTypeMapper.inl. References osg::ScanParseFieldTypeMapper< BaseT >::_mExtInt. 00095 { 00096 typename ExtIntMap::iterator gMIt = _mExtInt.find(iFieldTypeId); 00097 00098 if(gMIt != _mExtInt.end()) 00099 { 00100 return gMIt->second; 00101 } 00102 else 00103 { 00104 return -iFieldTypeId; 00105 } 00106 }
|
|
||||||||||||||||
|
Definition at line 109 of file OSGScanParseFieldTypeMapper.inl. References osg::ScanParseFieldTypeMapper< BaseT >::_mIntExt. 00112 { 00113 typename IntExtMap::iterator gMIt = _mIntExt.find( 00114 (BuildInFieldTypes) iFieldTypeId); 00115 00116 if(gMIt != _mIntExt.end()) 00117 { 00118 return gMIt->second; 00119 } 00120 else 00121 { 00122 return -iFieldTypeId; 00123 } 00124 }
|
|
||||||||||
|
|
|
|||||
|
Definition at line 114 of file OSGScanParseFieldTypeMapper.h. Referenced by osg::ScanParseFieldTypeMapper< BaseT >::mapIntExtFieldType(), and osg::ScanParseFieldTypeMapper< BaseT >::setExtIntMapping(). |
|
|||||
|
Definition at line 115 of file OSGScanParseFieldTypeMapper.h. Referenced by osg::ScanParseFieldTypeMapper< BaseT >::mapExtIntFieldType(), and osg::ScanParseFieldTypeMapper< BaseT >::setIntExtMapping(). |
1.4.3