Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::mfvec2f:
Public Member Functions | |
mfvec2f (std::vector< vec2f >::size_type n=0, const vec2f &value=vec2f()) throw (std::bad_alloc) | |
Construct. | |
template<typename InputIterator> | mfvec2f (InputIterator first, InputIterator last) |
Create an mfvec2f with a copy of a range. | |
virtual | ~mfvec2f () 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 field_value::type_id associated with this class. | |
Public Attributes | |
std::vector< vec2f > | value |
2-component vector 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 mfvec2f &lhs, const mfvec2f &rhs) throw() |
Compare for equality. | |
bool | operator!= (const mfvec2f &lhs, const mfvec2f &rhs) throw() |
Compare for inequality. | |
template<> void | swap (openvrml::mfvec2f &a, openvrml::mfvec2f &b) |
Swap the values of a and b . |
|
Construct.
Creates an mfvec2f with
|
|
Create an mfvec2f with a copy of a range.
Creates an mfvec2f with a value that is a copy of the range [
|
|
Destroy. Each of the mfvec2f'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 field_value::type_id associated with this class.
Implements openvrml::field_value. |
|
Compare for inequality.
|
|
Compare for equality.
|
|
Swap the values of Does not throw.
|