Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::Field Class Reference
[FieldLib]

Base class for all fields. More...

#include <OSGField.h>

Inheritance diagram for osg::Field:

Inheritance graph
[legend]
List of all members.

Public Methods

Destructor
virtual ~Field (void)
Get
virtual const FieldTypegetType (void) const=0
 Get field type.

const DataTypegetContentType (void) const
 Returns the content type of the field.

FieldType::Cardinality getCardinality (void) const
 Returns the cardinality of the field.

virtual bool isEmpty (void) const=0
 Get field type.

virtual UInt32 getSize (void) const=0
 Returns the size of the field, allway 1 for single fields.

String IO
virtual void pushValueByStr (const Char8 *str)=0
 Set value from string.

virtual string & getValueByStr (string &str) const=0
 dump value to string

virtual string & getValueByStr (string &str, StringConversionStateBase &state) const=0
 Set value from string.

Set
virtual void setAbstrValue (const Field &obj)=0
 Set value from the given Field, if possible.

Dump
virtual void dump (void) const=0

Protected Methods

Constructors
 Field (void)
 Field (const Field &source)

Private Methods

void operator= (const Field &source)
 prohibit default function (move to 'public' if needed)


Detailed Description

Base class for all fields.


Constructor & Destructor Documentation

Field::~Field void    [virtual]
 

Field::Field void    [protected]
 

Field::Field const Field &    source [protected]
 


Member Function Documentation

const FieldType & Field::getType void    const [pure virtual]
 

Get field type.

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

const DataType & Field::getContentType void    const
 

Returns the content type of the field.

FieldType::Cardinality Field::getCardinality void    const
 

Returns the cardinality of the field.

virtual bool osg::Field::isEmpty void    const [pure virtual]
 

Get field type.

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

UInt32 Field::getSize void    const [pure virtual]
 

Returns the size of the field, allway 1 for single fields.

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

void Field::pushValueByStr const Char8   str [pure virtual]
 

Set value from string.

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

string & Field::getValueByStr string &    str const [pure virtual]
 

dump value to string

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

virtual string& osg::Field::getValueByStr string &    str,
StringConversionStateBase &    state
const [pure virtual]
 

Set value from string.

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

void Field::setAbstrValue const Field &    obj [pure virtual]
 

Set value from the given Field, if possible.

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

virtual void osg::Field::dump void    const [pure virtual]
 

Implemented in osg::MField< FieldTypeT, fieldNameSpace >, and osg::SField< FieldTypeT, fieldNameSpace >.

void osg::Field::operator= const Field &    source [private]
 

prohibit default function (move to 'public' if needed)


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:24:24 2002 for OpenSG by doxygen1.2.16