Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for FieldValue:
Public Types | |
enum | Type { invalidType, sfbool, sfcolor, sffloat, sfimage, sfint32, sfnode, sfrotation, sfstring, sftime, sfvec2f, sfvec3f, mfcolor, mffloat, mfint32, mfnode, mfrotation, mfstring, mftime, mfvec2f, mfvec3f } |
Used to identify FieldValue types. More... | |
Public Methods | |
virtual | ~FieldValue ()=0 throw () |
Destructor. | |
virtual std::auto_ptr< FieldValue > | clone () const=0 throw (std::bad_alloc) |
Virtual copy constructor. | |
virtual FieldValue & | assign (const FieldValue &value)=0 throw (std::bad_cast, std::bad_alloc) |
Virtual assignment. | |
virtual Type | type () const=0 throw () |
Get the field type. | |
Protected Methods | |
FieldValue () throw () | |
Constructor. | |
FieldValue (const FieldValue &value) throw () | |
Copy constructor. | |
FieldValue & | operator= (const FieldValue &value) throw () |
Assignment operator. | |
Private Methods | |
virtual void | print (std::ostream &out) const=0 |
Print to an output stream. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FieldValue &fieldValue) |
Stream output. | |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &out, const FieldValue::Type type) |
Stream output. | |
std::istream & | operator>> (std::istream &in, FieldValue::Type &type) |
Stream input. |
|
Used to identify FieldValue types.
These tags are typically used to designate an expected type or to avoid a
|
|
Destructor.
|
|
Constructor.
|
|
Copy constructor.
|
|
Virtual assignment.
Implemented in SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f, MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, and MFVec3f. |
|
Virtual copy constructor.
Implemented in SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f, MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, and MFVec3f. |
|
Assignment operator.
|
|
Print to an output stream.
Implemented in SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f, MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, and MFVec3f. |
|
Get the field type.
Implemented in SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f, MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, and MFVec3f. |
|
Stream output.
If
|
|
Stream output.
|
|
Stream input.
|