#include <OSGQTWindowDataFields.h>
Inheritance diagram for osg::FieldDataTraits< OSGQGLWidgetP >:

Public Types | |
| enum | { StringConvertable = ToStringConvertable } |
| enum | { bHasParent = 0x00 } |
| typedef osgIF< uiTest==1, const OSGQGLWidgetP, const OSGQGLWidgetP & >::_IRet | ArgumentType |
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.
|
|
Definition at line 122 of file OSGFieldDataType.h. |
|
|
Reimplemented from osg::FieldTraits. Definition at line 76 of file OSGQTWindowDataFields.h. 00076 { StringConvertable = ToStringConvertable };
|
|
|
Definition at line 77 of file OSGQTWindowDataFields.h. 00077 { bHasParent = 0x00 };
|
|
|
Definition at line 79 of file OSGQTWindowDataFields.h. 00079 { return _type; }
|
|
|
Definition at line 81 of file OSGQTWindowDataFields.h.
|
|
|
Definition at line 82 of file OSGQTWindowDataFields.h.
|
|
||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< OSGQGLWidgetP >. Definition at line 84 of file OSGQTWindowDataFields.h.
|
|
||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< OSGQGLWidgetP >. Definition at line 91 of file OSGQTWindowDataFields.h.
|
|
|
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 }
|
|
||||||||||||
|
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 }
|
|
||||||||||||
|
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 }
|
|
||||||||||||||||
|
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 }
|
|
||||||||||||
|
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 }
|
|
||||||||||||||||
|
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 }
|
|
|
Definition at line 75 of file OSGFieldDataType.h.
|
|
|
Definition at line 74 of file OSGQTWindowDataFields.h. |
|
|
Definition at line 117 of file OSGFieldDataType.h. |
1.4.3