Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::mffloat:
Public Member Functions | |
mffloat (std::vector< float >::size_type n=0, float value=0.0f) throw (std::bad_alloc) | |
Construct. | |
template<typename InputIterator> | mffloat (InputIterator first, InputIterator last) |
Create an mffloat with a copy of a range. | |
virtual | ~mffloat () throw () |
Destroy. | |
virtual std::auto_ptr< field_value > | clone () const throw (std::bad_alloc) |
Virtual copy constructor. | |
virtual field_value & | assign (const field_value &value) throw (std::bad_cast, std::bad_alloc) |
Virtual assignment. | |
virtual type_id | type () const throw () |
Get the type identifier for the class. | |
Public Attributes | |
std::vector< float > | value |
Single precision floating point values. | |
Private Member Functions | |
virtual void | print (std::ostream &) const |
Print to an output stream. | |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (const mffloat &lhs, const mffloat &rhs) throw() |
Compare for equality. | |
bool | operator!= (const mffloat &lhs, const mffloat &rhs) throw() |
Compare for inequality. | |
template<> void | swap (openvrml::mffloat &a, openvrml::mffloat &b) |
Swap the values of a and b . |
|
Construct.
Creates an mffloat with
|
|
Create an mffloat with a copy of a range.
Creates an mffloat with a value that is a copy of the range [
|
|
Destroy. Each of the mffloat's value elements is destroyed, and memory allocated for them (if any) is deallocated. |
|
Virtual assignment.
Implements openvrml::field_value. |
|
Virtual copy constructor.
Implements openvrml::field_value. |
|
Print to an output stream.
Implements openvrml::field_value. |
|
Get the type identifier for the class.
Implements openvrml::field_value. |
|
Compare for inequality.
|
|
Compare for equality.
|
|
Swap the values of Does not throw.
|