#include <OSGSField.h>
Inheritance diagram for osg::SField< FieldTypeT, fieldNameSpace >:


Public Types | |
| typedef osgIF< fieldNameSpace==1, FieldDataTraits1< FieldTypeT >, FieldDataTraits2< FieldTypeT > >::_IRet | SF1Trait |
| typedef osgIF< fieldNameSpace==0, FieldDataTraits< FieldTypeT >, SF1Trait >::_IRet | SFieldTraits |
| typedef SField< FieldTypeT, fieldNameSpace > | Self |
| typedef FieldTypeT | StoredType |
| typedef FieldTypeT & | reference |
| typedef const FieldTypeT & | const_reference |
| typedef SFieldTraits::ArgumentType | ArgumentType |
Public Methods | |
Constructors | |
| SField (void) | |
| SField (const SField &obj) | |
| SField (ArgumentType value) | |
Destructor | |
| virtual | ~SField (void) |
Get | |
| virtual UInt32 | getSize (void) const |
| Returns the size of the field, allway 1 for single fields. | |
| reference | getValue (void) |
| Return a reference to the stored value. | |
| const_reference | getValue (void) const |
| Return a const reference to the stored value. | |
| virtual const FieldType & | getType (void) const |
| Returns the type of the field. | |
| virtual bool | isEmpty (void) const |
| Return 1 as SingleFields contain one value. | |
Set | |
| virtual void | setAbstrValue (const Field &obj) |
| Copies the values from a given field iff the two fieldtypes match. | |
| void | setValue (ArgumentType value) |
| Sets the stored value from a given one. | |
| void | setValue (const Self &obj) |
| Sets the stored value from a given field. | |
String IO | |
| virtual void | pushValueByStr (const Char8 *str) |
| Sets the field value from a given string. | |
| virtual string & | getValueByStr (string &str) const |
| Dump the field to a given string. | |
| virtual string & | getValueByStr (string &str, StringConversionStateBase &state) const |
| Sets the field value from a given string. | |
MT Sync | |
| void | syncWith (Self &source) |
Binary Interface | |
| UInt32 | getBinSize (void) |
| void | copyToBin (BinaryDataHandler &pMem) |
| void | copyFromBin (BinaryDataHandler &pMem) |
Assign | |
| void | operator= (const SField &source) |
| Sets the stored value from a given one. | |
Dump | |
| virtual void | dump (void) const |
| Dump property contents to stderr, should be changed to use a log stream instead. | |
Static Public Methods | |
Class Get | |
| const FieldType & | getClassType (void) |
Protected Types | |
| typedef Field | Inherited |
| Parent type. | |
Static Protected Methods | |
| Field * | create (void) |
| Create method used by the factory to create an instance. | |
Protected Attributes | |
| FieldTypeT | _value |
| Value store. | |
Static Protected Attributes | |
| const FieldType | _fieldType |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
Parent type.
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Returns the size of the field, allway 1 for single fields.
Implements osg::Field. |
|
||||||||||
|
Return a reference to the stored value.
|
|
||||||||||
|
Return a const reference to the stored value.
|
|
||||||||||
|
Returns the type of the field.
Implements osg::Field. |
|
||||||||||
|
Return 1 as SingleFields contain one value.
Implements osg::Field. |
|
||||||||||
|
Copies the values from a given field iff the two fieldtypes match.
Implements osg::Field. |
|
||||||||||
|
Sets the stored value from a given one.
|
|
||||||||||
|
Sets the stored value from a given field.
|
|
||||||||||
|
Sets the field value from a given string.
Implements osg::Field. |
|
||||||||||
|
Dump the field to a given string.
Implements osg::Field. |
|
||||||||||||||||
|
Sets the field value from a given string.
Implements osg::Field. |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Sets the stored value from a given one.
|
|
||||||||||
|
Dump property contents to stderr, should be changed to use a log stream instead.
Implements osg::Field. |
|
||||||||||
|
Create method used by the factory to create an instance.
|
|
|||||
|
|
|
|||||
|
Value store.
|
1.2.16