Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::FieldTraitsRecurseVecStore3Base< ValueTypeT > Struct Template Reference
[Field Data Traits]

#include <OSGVecFieldDataType.h>

Inheritance diagram for osg::FieldTraitsRecurseVecStore3Base< ValueTypeT >:

osg::FieldTraitsRecurseVecStoreBase< ValueTypeT > osg::FieldTraits List of all members.

Public Types

enum  { bHasParent = 0x00 }
typedef osgIF< uiTest==1,
const ValueTypeT, const ValueTypeT
& >::_IRet 
ArgumentType
enum  { bHasParent = 0x00 }

Static Public Member Functions

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 Char8getPName (void)

Static Public Attributes

static const UInt32 uiTest = TypeTraits<ValueTypeT>::IsPOD == false

Detailed Description

template<class ValueTypeT>
struct osg::FieldTraitsRecurseVecStore3Base< ValueTypeT >

Definition at line 149 of file OSGVecFieldDataType.h.


Member Typedef Documentation

template<class ValueTypeT>
typedef osgIF<uiTest == 1, const ValueTypeT , const ValueTypeT & >::_IRet osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::ArgumentType [inherited]
 

Definition at line 78 of file OSGVecFieldDataType.h.


Member Enumeration Documentation

template<class ValueTypeT>
anonymous enum
 

Enumerator:
bHasParent 

Definition at line 152 of file OSGVecFieldDataType.h.

00152 { bHasParent = 0x00 };

template<class ValueTypeT>
anonymous enum [inherited]
 

Enumerator:
bHasParent 

Reimplemented from osg::FieldTraits.

Definition at line 70 of file OSGVecFieldDataType.h.

00070 { bHasParent = 0x00 };


Member Function Documentation

template<class ValueTypeT>
static UInt32 osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::getBinSize const ValueTypeT &   )  [inline, static, inherited]
 

Definition at line 86 of file OSGVecFieldDataType.h.

00087     {
00088         return sizeof(ValueTypeT);
00089     }

template<class ValueTypeT>
static UInt32 osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::getBinSize const ValueTypeT *  ,
UInt32  uiNumObjects
[inline, static, inherited]
 

Definition at line 91 of file OSGVecFieldDataType.h.

00093     {
00094         return sizeof(ValueTypeT) * uiNumObjects;
00095     }

template<class ValueTypeT>
static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyToBin BinaryDataHandler pMem,
const ValueTypeT &  oObject
[inline, static, inherited]
 

Definition at line 97 of file OSGVecFieldDataType.h.

00099     {
00100         pMem.putValues(&oObject[0], ValueTypeT::_iSize);
00101     }

template<class ValueTypeT>
static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyToBin BinaryDataHandler pMem,
const ValueTypeT *  pObjectStore,
UInt32  uiNumObjects
[inline, static, inherited]
 

Definition at line 103 of file OSGVecFieldDataType.h.

00106     {
00107         pMem.putValues(&pObjectStore[0][0], ValueTypeT::_iSize*uiNumObjects);
00108     }

template<class ValueTypeT>
static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyFromBin BinaryDataHandler pMem,
ValueTypeT &  oObject
[inline, static, inherited]
 

Definition at line 110 of file OSGVecFieldDataType.h.

00112     {
00113         pMem.getValues(&oObject[0], ValueTypeT::_iSize);
00114     }

template<class ValueTypeT>
static void osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::copyFromBin BinaryDataHandler pMem,
ValueTypeT *  pObjectStore,
UInt32  uiNumObjects
[inline, static, inherited]
 

Definition at line 116 of file OSGVecFieldDataType.h.

00119     {
00120         pMem.getValues(&pObjectStore[0][0], ValueTypeT::_iSize*uiNumObjects);
00121     }

static const Char8* osg::FieldTraits::getPName void   )  [inline, static, inherited]
 

Definition at line 75 of file OSGFieldDataType.h.

00075 { return "Field"; }


Member Data Documentation

template<class ValueTypeT>
const UInt32 osg::FieldTraitsRecurseVecStoreBase< ValueTypeT >::uiTest = TypeTraits<ValueTypeT>::IsPOD == false [static, inherited]
 

Definition at line 73 of file OSGVecFieldDataType.h.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 25 04:12:43 2005 for OpenSG by  doxygen 1.4.3