| Home | Download | Screen shots | Discussion | Documentation |
|---|
node.
More...
#include <openvrml/node.h>
Public Types | |
| enum | type_id { invalid_type_id, eventin_id, eventout_id, exposedfield_id, field_id } |
| Identify the type of interface. More... | |
Public Member Functions | |
| node_interface (type_id type, field_value::type_id field_type, const std::string &id) | |
| Constructor. | |
Public Attributes | |
| type_id | type |
| The interface type. | |
| field_value::type_id | field_type |
| The field data type handled by this interface. | |
| std::string | id |
| The name of this interface. | |
Related Functions | |
| (Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &out, const node_interface::type_id type) |
| Stream inserter. | |
| std::istream & | operator>> (std::istream &in, node_interface::type_id &type) |
| Stream extractor. | |
| bool | operator== (const node_interface &lhs, const node_interface &rhs) throw() |
| Compare for equality. | |
| bool | operator!= (const node_interface &lhs, const node_interface &rhs) throw() |
| Compare for openvrml::inequality. | |
| std::ostream & | operator<< (std::ostream &out, const node_interface &interface_) |
| Stream output. | |
| std::istream & | operator>> (std::istream &in, node_interface &interface_) |
| Stream input. | |
node.
| openvrml::node_interface::node_interface | ( | type_id | type, | |
| field_value::type_id | field_type, | |||
| const std::string & | id | |||
| ) | [inline] |
Constructor.
| [in] | type | the type of interface. |
| [in] | field_type | the field data type handled by the interface. |
| [in] | id | the name of the interface. |
| std::ostream & operator<< | ( | std::ostream & | out, | |
| const node_interface::type_id | type | |||
| ) | [related] |
Stream inserter.
If type is node_interface::invalid_type_id, failbit is set on out.
| [in,out] | out | an output stream. |
| [in] | type | a node interface type. |
out. | std::istream & operator>> | ( | std::istream & | in, | |
| node_interface::type_id & | type | |||
| ) | [related] |
Stream extractor.
| [in,out] | in | an input stream. |
| [out] | type | a node interface type. |
in. | bool operator== | ( | const node_interface & | lhs, | |
| const node_interface & | rhs | |||
| ) | throw() [related] |
Compare for equality.
| [in] | lhs | a node_interface. |
| [in] | rhs | a node_interface. |
true if the two node_interfaces are equal, false otherwise. | bool operator!= | ( | const node_interface & | lhs, | |
| const node_interface & | rhs | |||
| ) | throw() [related] |
Compare for openvrml::inequality.
| [in] | lhs | a node_interface. |
| [in] | rhs | a node_interface. |
true if the two node_interfaces are equal, false otherwise. | std::ostream & operator<< | ( | std::ostream & | out, | |
| const node_interface & | interface_ | |||
| ) | [related] |
| std::istream & operator>> | ( | std::istream & | in, | |
| node_interface & | interface_ | |||
| ) | [related] |
The field data type handled by this interface.