FieldValue Class Reference

#include <FieldValue.h>

Inheritance diagram for FieldValue:

MFieldValue SFBool SFColor SFFloat SFImage SFInt32 SFNode SFRotation SFString SFTime SFVec2f SFVec3f List of all members.

Public Member Functions

 FieldValue ()
 FieldValue (const FieldValue &value)
virtual ~FieldValue ()
virtual void write (FILE *f, int indent) const =0
virtual int getType () const=0
virtual bool equals (const FieldValue *value) const =0
virtual const char * getTypeName () const=0
virtual FieldValueaddNode (Node *node) const
virtual FieldValueremoveNode (Node *node) const
virtual void clamp (float, float)
void ref ()
void unref ()
virtual FieldValuecopy ()=0

Private Attributes

int _refs

Detailed Description

(Pure virtual)Parent class of SFString, SFFloat etc. containing information about the Single field values. Also contains the enumeration of all field types, SFSTRING,MFNODE etc...


Constructor & Destructor Documentation

FieldValue::FieldValue (  ) 

FieldValue::FieldValue ( const FieldValue value  ) 

FieldValue::~FieldValue (  )  [virtual]


Member Function Documentation

void FieldValue::write ( FILE *  f,
int  indent 
) const [pure virtual]

Implemented in MFFloat, MFInt32, MFNode, MFString, MFTime, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, and SFVec3f.

virtual int FieldValue::getType (  )  const [pure virtual]

Implemented in MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, and SFVec3f.

virtual bool FieldValue::equals ( const FieldValue value  )  const [pure virtual]

Implemented in MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, and SFVec3f.

virtual const char* FieldValue::getTypeName (  )  const [pure virtual]

Implemented in MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, and SFVec3f.

FieldValue * FieldValue::addNode ( Node node  )  const [virtual]

Reimplemented in MFNode, and SFNode.

FieldValue * FieldValue::removeNode ( Node node  )  const [virtual]

Reimplemented in MFNode, and SFNode.

virtual void FieldValue::clamp ( float  ,
float   
) [inline, virtual]

Reimplemented in MFFloat, MFTime, SFColor, SFFloat, SFInt32, and SFVec3f.

void FieldValue::ref (  )  [inline]

void FieldValue::unref (  )  [inline]

virtual FieldValue* FieldValue::copy (  )  [pure virtual]

Implemented in MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, and SFVec3f.


Member Data Documentation

int FieldValue::_refs [private]


Generated on Thu Jan 18 10:06:18 2007 for vhdPLUS by  doxygen 1.5.1-p1