Type information for an interface of a node
.
More...
#include <openvrml/node.h>
Detailed Description
Type information for an interface of a node
.
- Examples:
- pretty_print.cpp.
Member Enumeration Documentation
Identify the type of interface.
- Enumerator:
invalid_type_id |
Used to indicate an invalid or unknown interface type.
|
eventin_id |
An eventIn .
|
eventout_id |
An eventOut .
|
exposedfield_id |
An exposedField .
|
field_id |
A field .
|
Constructor & Destructor Documentation
Constructor.
- Parameters
-
[in] | type | the type of interface. |
[in] | field_type | the field data type handled by the interface. |
[in] | id | the name of the interface. |
Friends And Related Function Documentation
Stream inserter.
If type
is node_interface::invalid_type_id
, failbit
is set on out
.
- Parameters
-
[in,out] | out | an output stream. |
[in] | type | a node interface type. |
- Returns
out
.
Stream extractor.
- Parameters
-
[in,out] | in | an input stream. |
[out] | type | a node interface type. |
- Returns
in
.
Compare for equality.
- Parameters
-
- Returns
true
if the two node_interfaces
are equal, false
otherwise.
Compare for openvrml::inequality.
- Parameters
-
- Returns
true
if the two node_interfaces
are equal, false
otherwise.
std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
const node_interface & |
interface_ |
|
) |
| |
|
related |
Stream output.
- Parameters
-
- Returns
out
.
std::istream & operator>> |
( |
std::istream & |
in, |
|
|
node_interface & |
interface_ |
|
) |
| |
|
related |
Stream input.
- Parameters
-
- Returns
in
.
Member Data Documentation
openvrml::node_interface::type |
openvrml::node_interface::field_type |
The field data type handled by this interface.
openvrml::node_interface::id |