#include <OSGQTWindowDataFields.h>

Public Types | |
| enum | { StringConvertable = ToStringConvertable } |
| enum | { bHasParent = 0x00 } |
| enum | |
| typedef osgIF< uiTest==1, const OSGQGLWidgetP, const OSGQGLWidgetP & >::_IRet | ArgumentType |
| enum | { ToStringConvertable = 0x01, FromStringConvertable = 0x02 } |
Static Public Member Functions | |
| static DataType & | getType (void) |
| static char * | getSName (void) |
| static char * | getMName (void) |
| static bool | getFromString (OSGQGLWidgetP &widget, const Char8 *) |
| static void | putToString (const OSGQGLWidgetP &, std::string &outStr) |
| static UInt32 | getBinSize (const OSGQGLWidgetP &oObject) |
| static UInt32 | getBinSize (const OSGQGLWidgetP *pObjectStore, UInt32 uiNumObjects) |
| static void | copyToBin (BinaryDataHandler &pMem, const OSGQGLWidgetP &oObject) |
| static void | copyToBin (BinaryDataHandler &pMem, const OSGQGLWidgetP *pObjectStore, UInt32 uiNumObjects) |
| static void | copyFromBin (BinaryDataHandler &pMem, OSGQGLWidgetP &oObject) |
| static void | copyFromBin (BinaryDataHandler &pMem, OSGQGLWidgetP *pObjectStore, UInt32 uiNumObjects) |
| static const Char8 * | getPName (void) |
Static Public Attributes | |
| static DataType | _type |
| static const UInt32 | uiTest |
Definition at line 71 of file OSGQTWindowDataFields.h.
typedef osgIF<uiTest == 1, const OSGQGLWidgetP , const OSGQGLWidgetP & >::_IRet osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::ArgumentType [inherited] |
Definition at line 122 of file OSGFieldDataType.h.
| anonymous enum |
Definition at line 76 of file OSGQTWindowDataFields.h.
00076 { StringConvertable = ToStringConvertable };
| anonymous enum |
anonymous enum [inherited] |
anonymous enum [inherited] |
Definition at line 69 of file OSGFieldDataType.h.
00070 { 00071 ToStringConvertable = 0x01, 00072 FromStringConvertable = 0x02 00073 };
| static DataType& osg::osg::FieldDataTraits< OSGQGLWidgetP >::getType | ( | void | ) | [inline, static] |
| static char* osg::osg::FieldDataTraits< OSGQGLWidgetP >::getSName | ( | void | ) | [inline, static] |
| static char* osg::osg::FieldDataTraits< OSGQGLWidgetP >::getMName | ( | void | ) | [inline, static] |
| static bool osg::osg::FieldDataTraits< OSGQGLWidgetP >::getFromString | ( | OSGQGLWidgetP & | widget, | |
| const Char8 * | ||||
| ) | [inline, static] |
Reimplemented from osg::FieldTraitsRecurseBase< OSGQGLWidgetP >.
Definition at line 84 of file OSGQTWindowDataFields.h.
| static void osg::osg::FieldDataTraits< OSGQGLWidgetP >::putToString | ( | const OSGQGLWidgetP & | , | |
| std::string & | outStr | |||
| ) | [inline, static] |
Reimplemented from osg::FieldTraitsRecurseBase< OSGQGLWidgetP >.
Definition at line 91 of file OSGQTWindowDataFields.h.
| static UInt32 osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::getBinSize | ( | const OSGQGLWidgetP & | oObject | ) | [inline, static, inherited] |
Definition at line 130 of file OSGFieldDataType.h.
00131 { 00132 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00133 00134 std::string value; 00135 00136 MappedTrait::putToString(oObject, value); 00137 00138 return value.length() + 1 + sizeof(UInt32); 00139 }
| static UInt32 osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::getBinSize | ( | const OSGQGLWidgetP * | pObjectStore, | |
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
Definition at line 141 of file OSGFieldDataType.h.
00143 { 00144 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00145 00146 UInt32 size = 0; 00147 00148 for(UInt32 i = 0; i < uiNumObjects; ++i) 00149 { 00150 size += MappedTrait::getBinSize(pObjectStore[i]); 00151 } 00152 00153 return size; 00154 }
| static void osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const OSGQGLWidgetP & | oObject | |||
| ) | [inline, static, inherited] |
Definition at line 156 of file OSGFieldDataType.h.
00158 { 00159 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00160 00161 std::string value; 00162 00163 MappedTrait::putToString(oObject, value); 00164 00165 pMem.putValue(value); 00166 }
| static void osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const OSGQGLWidgetP * | pObjectStore, | |||
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
Definition at line 169 of file OSGFieldDataType.h.
00172 { 00173 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00174 00175 // defaut: copy each element 00176 for(UInt32 i = 0; i < uiNumObjects; ++i) 00177 { 00178 MappedTrait::copyToBin(pMem, pObjectStore[i]); 00179 } 00180 }
| static void osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| OSGQGLWidgetP & | oObject | |||
| ) | [inline, static, inherited] |
Definition at line 182 of file OSGFieldDataType.h.
00184 { 00185 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00186 00187 const Char8 *c = NULL; 00188 00189 std::string value; 00190 00191 pMem.getValue(value); 00192 c = value.c_str(); 00193 MappedTrait::getFromString(oObject, c); 00194 }
| static void osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| OSGQGLWidgetP * | pObjectStore, | |||
| UInt32 | uiNumObjects | |||
| ) | [inline, static, inherited] |
Definition at line 196 of file OSGFieldDataType.h.
00199 { 00200 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00201 00202 // defaut: copy each element 00203 for(UInt32 i = 0; i < uiNumObjects; ++i) 00204 { 00205 MappedTrait::copyFromBin(pMem, pObjectStore[i]); 00206 } 00207 }
| static const Char8* osg::FieldTraits::getPName | ( | void | ) | [inline, static, inherited] |
Definition at line 74 of file OSGQTWindowDataFields.h.
const UInt32 osg::FieldTraitsRecurseBase< OSGQGLWidgetP >::uiTest [static, inherited] |
Definition at line 117 of file OSGFieldDataType.h.
1.5.5