| Home | Download | Screen shots | Discussion | Documentation |
|---|
#include <openvrml/node.h>
node_interface matches an field identifier.
Public Member Functions | |
| result_type | operator() (const first_argument_type &interface, const second_argument_type &field_id) const |
Determine if a node_interface matches an field identifier. | |
| openvrml::node_interface_matches_field::result_type openvrml::node_interface_matches_field::operator() | ( | const first_argument_type & | interface, | |
| const second_argument_type & | field_id | |||
| ) | const [inline] |
Determine if a node_interface matches an field identifier.
A node_interface matches a field identifier if the node_interface's type is node_interface::field_id or node_interface::exposedfield_id and the node_interface's id is lexicographically equal to the field identifier.
| [in] | interface | node_interface. |
| [in] | field_id | field identifier. |
true if interface matches field_id; false otherwise.