Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::mfnode:
Public Member Functions | |
mfnode (std::vector< node_ptr >::size_type n=0, const node_ptr &value=node_ptr()) throw (std::bad_alloc) | |
Construct. | |
template<typename InputIterator> | mfnode (InputIterator first, InputIterator last) |
Create an mfnode with a copy of a range. | |
virtual | ~mfnode () 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< node_ptr > | value |
Node references. | |
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 mfnode &lhs, const mfnode &rhs) throw() |
Compare for equality. | |
bool | operator!= (const mfnode &lhs, const mfnode &rhs) throw() |
Compare for inequality. | |
template<> void | swap (openvrml::mfnode &a, openvrml::mfnode &b) |
Swap the values of a and b . |
|
Construct.
Creates an mfnode with
|
|
Create an mfnode with a copy of a range.
Creates an mfnode with a value that is a copy of the range [
|
|
Destroy. Each of the mfnode'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. Any null elements in the mfnode will not get printed; VRML97 syntax does not accommodate NULL in an mfnode.
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.
|