#include <OSGVecFieldDataType.h>
Public Types | |
| enum | { StringConvertable } |
| enum | { bHasParent = 0x01 } |
| typedef FieldDataTraits< Pnt4b > | Self |
| enum | |
| enum | |
| typedef osgIF< uiTest==1, const Pnt4b, const Pnt4b & > ::_IRet | ArgumentType |
| enum | { ToStringConvertable = 0x01, FromStringConvertable = 0x02 } |
Static Public Member Functions | |
| static DataType & | getType (void) |
| static const Char8 * | getSName (void) |
| static const Char8 * | getMName (void) |
| static Pnt4b | getDefault (void) |
| static bool | getFromString (Pnt4b &outVal, const Char8 *&inVal) |
| static void | putToString (const Pnt4b &inVal, std::string &outStr) |
| static UInt32 | getBinSize (const Pnt4b &) |
| static UInt32 | getBinSize (const Pnt4b *, UInt32 uiNumObjects) |
| static void | copyToBin (BinaryDataHandler &pMem, const Pnt4b &oObject) |
| static void | copyToBin (BinaryDataHandler &pMem, const Pnt4b *pObjectStore, UInt32 uiNumObjects) |
| static void | copyFromBin (BinaryDataHandler &pMem, Pnt4b &oObject) |
| static void | copyFromBin (BinaryDataHandler &pMem, Pnt4b *pObjectStore, UInt32 uiNumObjects) |
| static const Char8 * | getPName (void) |
Static Public Attributes | |
| static DataType | _type |
| static const UInt32 | uiTest |
Definition at line 1543 of file OSGVecFieldDataType.h.
| typedef FieldDataTraits<Pnt4b> osg::FieldDataTraits< Pnt4b >::Self |
Definition at line 1547 of file OSGVecFieldDataType.h.
typedef osgIF<uiTest == 1, const Pnt4b , const Pnt4b & >::_IRet osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::ArgumentType [inherited] |
Definition at line 78 of file OSGVecFieldDataType.h.
| anonymous enum |
Definition at line 1550 of file OSGVecFieldDataType.h.
01550 { StringConvertable = Self::ToStringConvertable | 01551 Self::FromStringConvertable };
| anonymous enum |
Definition at line 1553 of file OSGVecFieldDataType.h.
01553 { bHasParent = 0x01 };
anonymous enum [inherited] |
Definition at line 139 of file OSGVecFieldDataType.h.
00139 { bHasParent = 0x00 };
anonymous enum [inherited] |
Definition at line 70 of file OSGVecFieldDataType.h.
00070 { bHasParent = 0x00 };
anonymous enum [inherited] |
Definition at line 69 of file OSGFieldDataType.h.
00070 { 00071 ToStringConvertable = 0x01, 00072 FromStringConvertable = 0x02 00073 };
| static DataType& osg::FieldDataTraits< Pnt4b >::getType | ( | void | ) | [inline, static] |
Definition at line 1555 of file OSGVecFieldDataType.h.
01555 { return _type; }
| static const Char8* osg::FieldDataTraits< Pnt4b >::getSName | ( | void | ) | [inline, static] |
Definition at line 1557 of file OSGVecFieldDataType.h.
| static const Char8* osg::FieldDataTraits< Pnt4b >::getMName | ( | void | ) | [inline, static] |
Definition at line 1558 of file OSGVecFieldDataType.h.
| static Pnt4b osg::FieldDataTraits< Pnt4b >::getDefault | ( | void | ) | [inline, static] |
Definition at line 1560 of file OSGVecFieldDataType.h.
01560 { return Pnt4b(); }
| static bool osg::FieldDataTraits< Pnt4b >::getFromString | ( | Pnt4b & | outVal, | |
| const Char8 *& | inVal | |||
| ) | [inline, static] |
Definition at line 1562 of file OSGVecFieldDataType.h.
References osg::Point< ValueTypeT, SizeI >::setValueFromCString().
| static void osg::FieldDataTraits< Pnt4b >::putToString | ( | const Pnt4b & | inVal, | |
| std::string & | outStr | |||
| ) | [inline, static] |
Definition at line 1570 of file OSGVecFieldDataType.h.
References osg::Point< ValueTypeT, SizeI >::getValues().
01572 { 01573 typedef TypeTraits<Pnt4b::ValueType> TypeTrait; 01574 01575 outStr.assign(TypeTrait::putToString((inVal.getValues())[0])); 01576 outStr.append(" "); 01577 outStr.append(TypeTrait::putToString((inVal.getValues())[1])); 01578 outStr.append(" "); 01579 outStr.append(TypeTrait::putToString((inVal.getValues())[2])); 01580 outStr.append(" "); 01581 outStr.append(TypeTrait::putToString((inVal.getValues())[3])); 01582 }
| static UInt32 osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::getBinSize | ( | const Pnt4b & | ) | [inline, static, inherited] |
Definition at line 86 of file OSGVecFieldDataType.h.
| static UInt32 osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::getBinSize | ( | const Pnt4b * | , | |
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
Definition at line 91 of file OSGVecFieldDataType.h.
| static void osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const Pnt4b & | oObject | |||
| ) | [inline, static, inherited] |
Definition at line 97 of file OSGVecFieldDataType.h.
| static void osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const Pnt4b * | pObjectStore, | |||
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
Definition at line 103 of file OSGVecFieldDataType.h.
| static void osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| Pnt4b & | oObject | |||
| ) | [inline, static, inherited] |
Definition at line 110 of file OSGVecFieldDataType.h.
| static void osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| Pnt4b * | pObjectStore, | |||
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
Definition at line 116 of file OSGVecFieldDataType.h.
| static const Char8* osg::FieldTraits::getPName | ( | void | ) | [inline, static, inherited] |
Definition at line 75 of file OSGFieldDataType.h.
DataType osg::FieldDataTraits< Pnt4b >::_type [static] |
Definition at line 1546 of file OSGVecFieldDataType.h.
const UInt32 osg::FieldTraitsRecurseVecStoreBase< Pnt4b >::uiTest [static, inherited] |
Definition at line 73 of file OSGVecFieldDataType.h.
1.6.1