#include <OSGMField.h>
Inheritance diagram for osg::MField< FieldTypeT, fieldNameSpace >:

Public Types | |
| typedef MFieldVector< FieldTypeT > | StorageType |
| typedef StorageType::Inherited | StorageTypeParent |
| typedef StorageType::iterator | iterator |
| typedef StorageType::const_iterator | const_iterator |
| typedef StorageType::reverse_iterator | reverse_iterator |
| typedef StorageType::const_reverse_iterator | const_reverse_iterator |
| typedef StorageType::reference | reference |
| typedef StorageType::const_reference | const_reference |
| typedef osgIF< fieldNameSpace==0, FieldDataTraits< FieldTypeT >, InvalidTrait >::_IRet | MF0Trait |
| typedef osgIF< fieldNameSpace==1, FieldDataTraits1< FieldTypeT >, MF0Trait >::_IRet | MF1Trait |
| typedef osgIF< fieldNameSpace==2, FieldDataTraits2< FieldTypeT >, MF1Trait >::_IRet | MFieldTraits |
| typedef MField< FieldTypeT, fieldNameSpace > | Self |
| typedef FieldTypeT | StoredType |
| typedef MFieldTraits::ArgumentType | ArgumentType |
Public Member Functions | |
| template<> | |
| UInt32 | getBinSize (void) const |
| template<> | |
| void | copyToBin (BinaryDataHandler &pMem) const |
| template<> | |
| void | copyFromBin (BinaryDataHandler &pMem) |
Constructors | |
| * | MField (void) |
| MField (const MField &obj) | |
| MField (const UInt32 size) | |
Destructor | |
| *virtual | ~MField (void) |
Get | |
| *reference | getValue (const UInt32 index) |
| const_reference | getValue (const UInt32 index) const |
| virtual UInt32 | getSize (void) const |
| StorageType & | getValues (void) |
| const StorageType & | getValues (void) const |
| virtual const FieldType & | getType (void) const |
| virtual bool | isEmpty (void) const |
Set | |
| *void | setValues (const StorageType &value) |
| void | setValues (const StorageTypeParent &value) |
| void | setValues (const Self &obj) |
| virtual void | setAbstrValue (const Field &obj) |
| Copies the values from a given field iff the two fieldtypes are equal. | |
| void | setValue (ArgumentType value, const UInt32 index) |
| void | addValue (ArgumentType value) |
STL Interface | |
| *iterator | begin (void) |
| iterator | end (void) |
| reverse_iterator | rbegin (void) |
| reverse_iterator | rend (void) |
| const_iterator | begin (void) const |
| const_iterator | end (void) const |
| const_reverse_iterator | rbegin (void) const |
| const_reverse_iterator | rend (void) const |
| reference | front (void) |
| const_reference | front (void) const |
| reference | back (void) |
| const_reference | back (void) const |
| void | clear (void) |
| iterator | insert (iterator pos, ArgumentType value) |
| iterator | erase (iterator pos) |
| iterator | find (ArgumentType value) |
| const_iterator | find (ArgumentType value) const |
| void | push_back (ArgumentType value) |
| void | resize (size_t newsize, FieldTypeT t=FieldTypeT()) |
| void | reserve (size_t newsize) |
| UInt32 | size (void) const |
| UInt32 | capacity (void) const |
| bool | empty (void) const |
Index Operator | |
| *reference | operator[] (UInt32 index) |
| const_reference | operator[] (UInt32 index) const |
Assignment | |
| *void | operator= (const MField &source) |
String IO | |
| *virtual void | pushValueByStr (const Char8 *str) |
| virtual std::string & | getValueByStr (std::string &str) const |
| virtual std::string & | getValueByStr (std::string &str, StringConversionStateBase &state) const |
| virtual std::string & | getValueByStr (std::string &str, UInt32 index) const |
MT Sync | |
| *void | syncWith (Self &source) |
Binary Interface | |
| *UInt32 | getBinSize (void) const |
| void | copyToBin (BinaryDataHandler &pMem) const |
| void | copyFromBin (BinaryDataHandler &pMem) |
Dump | |
| *virtual void | dump (void) const |
Static Public Member Functions | |
Class Get | |
| *static const FieldType & | getClassType (void) |
Protected Types | |
| typedef Field | Inherited |
Static Protected Member Functions | |
| static Field * | create (void) |
Protected Attributes | |
| StorageType | _values |
| UInt32 | _uiSharedWith |
Static Protected Attributes | |
| static const FieldType | _fieldType |
Friends | |
| class | FieldContainer |
Definition at line 72 of file OSGMField.h.
|
|||||
|
Definition at line 78 of file OSGMField.h. |
|
|||||
|
Definition at line 79 of file OSGMField.h. |
|
|||||
|
Definition at line 81 of file OSGMField.h. |
|
|||||
|
Definition at line 82 of file OSGMField.h. |
|
|||||
|
Definition at line 85 of file OSGMField.h. |
|
|||||
|
Definition at line 87 of file OSGMField.h. |
|
|||||
|
Definition at line 90 of file OSGMField.h. |
|
|||||
|
Definition at line 91 of file OSGMField.h. |
|
|||||
|
Definition at line 96 of file OSGMField.h. |
|
|||||
|
Definition at line 100 of file OSGMField.h. |
|
|||||
|
Definition at line 104 of file OSGMField.h. |
|
|||||
|
Definition at line 106 of file OSGMField.h. |
|
|||||
|
Definition at line 108 of file OSGMField.h. |
|
|||||
|
Definition at line 110 of file OSGMField.h. |
|
|||||
|
Definition at line 292 of file OSGMField.h. |
|
||||||||||
|
Definition at line 66 of file OSGMField.inl. 00066 : 00067 Inherited ( ), 00068 _values ( ), 00069 _uiSharedWith(0) 00070 { 00071 }
|
|
||||||||||
|
Definition at line 74 of file OSGMField.inl. 00074 : 00075 Inherited (obj ), 00076 _values (obj._values), 00077 _uiSharedWith( 0) 00078 { 00079 }
|
|
||||||||||
|
Definition at line 82 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_values. 00082 : 00083 Inherited ( ), 00084 _values ( ), 00085 _uiSharedWith(0) 00086 { 00087 _values.resize(size); 00088 }
|
|
||||||||||
|
Definition at line 94 of file OSGMField.inl.
|
|
||||||||||
|
Definition at line 56 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_fieldType. Referenced by osg::VRMLFile::initExtIntFieldTypeMapper(), osg::OSGLoader::initFieldTypeMapper(), and osg::VRMLFile::initIntExtFieldTypeMapper(). 00057 { 00058 return _fieldType; 00059 }
|
|
||||||||||
|
Definition at line 483 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::operator[](). 00484 { 00485 return operator[](index); 00486 }
|
|
||||||||||
|
Definition at line 490 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::operator[](). 00491 { 00492 return operator[](index); 00493 }
|
|
||||||||||
|
Implements osg::Field. Definition at line 510 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::size(). Referenced by osg::SHLChunk::checkOSGParameters(), osg::TextureBackground::clear(), osg::Image::createData(), osg::PolygonForeground::draw(), and osg::MaterialPool::get(). 00511 { 00512 return size(); 00513 }
|
|
||||||||||
|
Return a reference to the value store Definition at line 106 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_values. Referenced by osg::PolygonChunk::changeFrom(), osg::Particles::drawPrimitives(), osg::VRMLExtrusionDesc::endNode(), osg::Window::refreshGLObject(), and osg::Window::reinitializeGLObject(). 00107 { 00108 return _values; 00109 }
|
|
||||||||||
|
Return a const reference to the value store Definition at line 116 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_values. 00117 { 00118 return _values; 00119 }
|
|
||||||||||
|
Implements osg::Field. Definition at line 123 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_fieldType. Referenced by osg::Surface::FindClosestPoint(), and osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue(). 00124 { 00125 return _fieldType; 00126 }
|
|
||||||||||
|
Implements osg::Field. Definition at line 130 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::empty(). 00131 { 00132 return empty(); 00133 }
|
|
||||||||||
|
Definition at line 161 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_values. Referenced by osg::Geometry::merge(), osg::Window::operator=(), osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue(), and osg::MField< FieldTypeT, fieldNameSpace >::syncWith().
|
|
||||||||||
|
Definition at line 167 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_values. 00169 { 00170 // Hack probably move it to MFieldVector (GV) 00171 00172 *(static_cast<StorageTypeParent *>(&_values)) = value; 00173 }
|
|
||||||||||
|
Definition at line 176 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::_values.
|
|
||||||||||
|
Implements osg::Field. Definition at line 152 of file OSGMField.inl. References osg::Field::getType(), osg::MField< FieldTypeT, fieldNameSpace >::getType(), and osg::MField< FieldTypeT, fieldNameSpace >::setValues(). 00153 { 00154 if(getType() == obj.getType()) 00155 { 00156 setValues(*((const MField<FieldTypeT, fieldNameSpace> *) &obj)); 00157 } 00158 }
|
|
||||||||||||||||
|
Definition at line 496 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::operator[](). 00498 { 00499 operator[](index) = value; 00500 }
|
|
||||||||||
|
Definition at line 503 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::push_back().
|
|
||||||||||
|
||||||||||
|
||||||||||
|
Definition at line 204 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::rbegin(). Referenced by osg::QFCItem::addParents(), osg::QFCItem::addRefedContainer(), and osg::MField< FieldTypeT, fieldNameSpace >::rbegin(). 00205 { 00206 return _values.rbegin(); 00207 }
|
|
||||||||||
|
Definition at line 213 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::rend(). Referenced by osg::QFCItem::addParents(), osg::QFCItem::addRefedContainer(), and osg::MField< FieldTypeT, fieldNameSpace >::rend(). 00214 { 00215 return _values.rend(); 00216 }
|
|
||||||||||
|
Definition at line 221 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::begin(). 00223 { 00224 return _values.begin(); 00225 }
|
|
||||||||||
|
Definition at line 230 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::end(). 00232 { 00233 return _values.end(); 00234 }
|
|
||||||||||
|
Definition at line 240 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::rbegin(). 00241 { 00242 return _values.rbegin(); 00243 }
|
|
||||||||||
|
Definition at line 249 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::rend(). 00250 { 00251 return _values.rend(); 00252 }
|
|
||||||||||
|
Definition at line 257 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::front(). Referenced by osg::MField< FieldTypeT, fieldNameSpace >::front(). 00258 { 00259 return _values.front(); 00260 }
|
|
||||||||||
|
Definition at line 265 of file OSGMField.inl. References osg::MField< FieldTypeT, fieldNameSpace >::front(). 00267 { 00268 return _values.front(); 00269 }
|
|
|