#include <OSGVecFieldDataType.h>

Public Types | |
| enum | { StringConvertable } |
| enum | { bHasParent = 0x01 } |
| typedef FieldDataTraits< Vec2f > | Self |
| enum | { bHasParent = 0x00 } |
| enum | { bHasParent = 0x00 } |
| typedef osgIF< uiTest==1, const ValueTypeT, const ValueTypeT & >::_IRet | ArgumentType |
| enum | { ToStringConvertable = 0x01, FromStringConvertable = 0x02 } |
Static Public Member Functions | |
| static DataType & | getType (void) |
| static Char8 * | getSName (void) |
| static Char8 * | getMName (void) |
| static Vec2f | getDefault (void) |
| static bool | getFromString (Vec2f &outVal, const Char8 *&inVal) |
| static void | putToString (const Vec2f &inVal, std::string &outStr) |
| static UInt32 | getBinSize (const ValueTypeT &) |
| static UInt32 | getBinSize (const ValueTypeT *, UInt32 uiNumObjects) |
| static void | copyToBin (BinaryDataHandler &pMem, const ValueTypeT &oObject) |
| static void | copyToBin (BinaryDataHandler &pMem, const ValueTypeT *pObjectStore, UInt32 uiNumObjects) |
| static void | copyFromBin (BinaryDataHandler &pMem, ValueTypeT &oObject) |
| static void | copyFromBin (BinaryDataHandler &pMem, ValueTypeT *pObjectStore, UInt32 uiNumObjects) |
| static const Char8 * | getPName (void) |
Static Public Attributes | |
| static DataType | _type |
| static const UInt32 | uiTest = TypeTraits<ValueTypeT>::IsPOD == false |
Definition at line 809 of file OSGVecFieldDataType.h.
| typedef FieldDataTraits<Vec2f> osg::osg::FieldDataTraits< Vec2f >::Self |
Definition at line 813 of file OSGVecFieldDataType.h.
typedef osgIF<uiTest == 1, const ValueTypeT , const ValueTypeT & >::_IRet osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::ArgumentType [inherited] |
Definition at line 78 of file OSGVecFieldDataType.h.
| anonymous enum |
Definition at line 816 of file OSGVecFieldDataType.h.
00816 { StringConvertable = Self::ToStringConvertable | 00817 Self::FromStringConvertable };
| anonymous enum |
anonymous enum [inherited] |
anonymous enum [inherited] |
anonymous enum [inherited] |
Definition at line 69 of file OSGFieldDataType.h.
00070 { 00071 ToStringConvertable = 0x01, 00072 FromStringConvertable = 0x02 00073 };
| static bool osg::osg::FieldDataTraits< Vec2f >::getFromString | ( | Vec2f & | outVal, | |
| const Char8 *& | inVal | |||
| ) | [inline, static] |
Definition at line 828 of file OSGVecFieldDataType.h.
References osg::PointInterface< ValueTypeT, StorageInterfaceT >::setValueFromCString().
| static void osg::osg::FieldDataTraits< Vec2f >::putToString | ( | const Vec2f & | inVal, | |
| std::string & | outStr | |||
| ) | [inline, static] |
Definition at line 836 of file OSGVecFieldDataType.h.
References osg::PointInterface< ValueTypeT, StorageInterfaceT >::getValues().
00838 { 00839 typedef TypeTraits<Vec2f::ValueType> TypeTrait; 00840 00841 outStr.assign(TypeTrait::putToString((inVal.getValues())[0])); 00842 outStr.append(" "); 00843 outStr.append(TypeTrait::putToString((inVal.getValues())[1])); 00844 }
| static UInt32 osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::getBinSize | ( | const ValueTypeT & | ) | [inline, static, inherited] |
| static UInt32 osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::getBinSize | ( | const ValueTypeT * | , | |
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
| static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const ValueTypeT & | oObject | |||
| ) | [inline, static, inherited] |
| static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const ValueTypeT * | pObjectStore, | |||
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
| static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| ValueTypeT & | oObject | |||
| ) | [inline, static, inherited] |
| static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| ValueTypeT * | pObjectStore, | |||
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
| static const Char8* osg::FieldTraits::getPName | ( | void | ) | [inline, static, inherited] |
Definition at line 812 of file OSGVecFieldDataType.h.
const UInt32 osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::uiTest = TypeTraits<ValueTypeT>::IsPOD == false [static, inherited] |
Definition at line 73 of file OSGVecFieldDataType.h.
1.5.5