osg::FieldDataTraits< ImagePtr > Struct Template Reference
[Field Data Traits]

#include <OSGImageFields.h>

Inheritance diagram for osg::FieldDataTraits< ImagePtr >:
osg::FieldTraitsRecurseMapper< ImagePtr, true > osg::FieldTraitsRecurseBase< ImagePtr > osg::FieldTraits

List of all members.

Public Types

enum  { StringConvertable = 0x00 }
enum  { bHasParent = 0x01 }
typedef ImagePtr::Inherited Inherited
typedef FieldDataTraits< ImagePtrFieldTypeTraits
typedef osgIF<(bTypeHasParent==true),
FieldDataTraits< Inherited >
, FieldTraitsRecurseBase
< ImagePtr > >::_IRet 
MappedTrait
enum  
typedef osgIF< uiTest==1,
const ImagePtr, const ImagePtr & >
::_IRet 
ArgumentType
enum  { ToStringConvertable = 0x01, FromStringConvertable = 0x02 }

Static Public Member Functions

static DataTypegetType (void)
static const char * getSName (void)
static const char * getMName (void)
static UInt32 getBinSize (const ImagePtr &oObject)
static UInt32 getBinSize (const ImagePtr *pObjectStore, UInt32 uiNumObjects)
static void copyToBin (BinaryDataHandler &pMem, const ImagePtr &oObject)
static void copyToBin (BinaryDataHandler &pMem, const ImagePtr *pObjectStore, UInt32 uiNumObjects)
static void copyFromBin (BinaryDataHandler &pMem, ImagePtr &oObject)
static void copyFromBin (BinaryDataHandler &pMem, ImagePtr *pObjectStore, UInt32 uiNumObjects)
static bool getFromString (ImagePtr &outVal, const Char8 *inVal)
static void putToString (const ImagePtr &inVal, std::string &outStr)
static const Char8getPName (void)

Static Public Attributes

static DataType _type
static const UInt32 uiTest

Detailed Description

template<>
struct osg::FieldDataTraits< ImagePtr >

Definition at line 84 of file OSGImageFields.h.


Member Typedef Documentation

typedef ImagePtr ::Inherited osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::Inherited [inherited]

Definition at line 412 of file OSGFieldDataType.h.

Definition at line 413 of file OSGFieldDataType.h.

typedef osgIF<(bTypeHasParent == true), FieldDataTraits<Inherited>, FieldTraitsRecurseBase<ImagePtr > >::_IRet osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::MappedTrait [inherited]

Definition at line 422 of file OSGFieldDataType.h.

typedef osgIF<uiTest == 1, const ImagePtr , const ImagePtr & >::_IRet osg::FieldTraitsRecurseBase< ImagePtr >::ArgumentType [inherited]

Definition at line 122 of file OSGFieldDataType.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
StringConvertable 

Definition at line 89 of file OSGImageFields.h.

00089 { StringConvertable = 0x00 };

anonymous enum
Enumerator:
bHasParent 

Definition at line 90 of file OSGImageFields.h.

00090 { bHasParent        = 0x01 };

anonymous enum [inherited]

Definition at line 114 of file OSGFieldDataType.h.

00114 { bHasParent = 0x00 };

anonymous enum [inherited]
Enumerator:
ToStringConvertable 
FromStringConvertable 

Definition at line 69 of file OSGFieldDataType.h.

00070     {
00071         ToStringConvertable   = 0x01,
00072         FromStringConvertable = 0x02
00073     };


Member Function Documentation

static DataType& osg::FieldDataTraits< ImagePtr >::getType ( void   )  [inline, static]

Definition at line 92 of file OSGImageFields.h.

00092 { return _type;        }

static const char* osg::FieldDataTraits< ImagePtr >::getSName ( void   )  [inline, static]

Definition at line 94 of file OSGImageFields.h.

00094 { return "SFImagePtr"; }

static const char* osg::FieldDataTraits< ImagePtr >::getMName ( void   )  [inline, static]

Definition at line 95 of file OSGImageFields.h.

00095 { return "MFImagePtr"; }

static UInt32 osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::getBinSize ( const ImagePtr oObject  )  [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 428 of file OSGFieldDataType.h.

00429     {
00430         return MappedTrait::getBinSize(oObject);
00431     }

static UInt32 osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::getBinSize ( const ImagePtr pObjectStore,
UInt32  uiNumObjects 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 433 of file OSGFieldDataType.h.

00435     {
00436         return MappedTrait::getBinSize(pObjectStore, uiNumObjects);
00437     }

static void osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::copyToBin ( BinaryDataHandler pMem,
const ImagePtr oObject 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 439 of file OSGFieldDataType.h.

00441     {
00442         MappedTrait::copyToBin(pMem, oObject);
00443     }

static void osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::copyToBin ( BinaryDataHandler pMem,
const ImagePtr pObjectStore,
UInt32  uiNumObjects 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 445 of file OSGFieldDataType.h.

00448     {
00449         MappedTrait::copyToBin(pMem, pObjectStore, uiNumObjects);
00450     }

static void osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::copyFromBin ( BinaryDataHandler pMem,
ImagePtr oObject 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 452 of file OSGFieldDataType.h.

00454     {
00455         MappedTrait::copyFromBin(pMem, oObject);
00456     }

static void osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::copyFromBin ( BinaryDataHandler pMem,
ImagePtr pObjectStore,
UInt32  uiNumObjects 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 458 of file OSGFieldDataType.h.

00461     {
00462         MappedTrait::copyFromBin(pMem, pObjectStore, uiNumObjects);
00463     }

static bool osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::getFromString ( ImagePtr outVal,
const Char8 *  inVal 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 465 of file OSGFieldDataType.h.

00467     {
00468         return MappedTrait::getFromString(outVal, inVal);
00469     }

static void osg::FieldTraitsRecurseMapper< ImagePtr , bTypeHasParent >::putToString ( const ImagePtr inVal,
std::string &  outStr 
) [inline, static, inherited]

Reimplemented from osg::FieldTraitsRecurseBase< ImagePtr >.

Definition at line 471 of file OSGFieldDataType.h.

00473     {
00474         MappedTrait::putToString(inVal, outStr);
00475     }

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

Definition at line 75 of file OSGFieldDataType.h.

00075 { return "Field"; }


Member Data Documentation

Definition at line 87 of file OSGImageFields.h.

const UInt32 osg::FieldTraitsRecurseBase< ImagePtr >::uiTest [static, inherited]

Definition at line 117 of file OSGFieldDataType.h.


The documentation for this struct was generated from the following files:

Generated on 8 Feb 2010 for OpenSG by  doxygen 1.6.1