Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml::node_interface_matches_field Struct Reference
[Nodes]

List of all members.

Detailed Description

Determine if a node_interface matches an field identifier.

Model of
AdaptableBinaryPredicate, DefaultConstructible


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.

Member Function Documentation

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.

Parameters:
interface node_interface.
field_id field identifier.
Returns:
true if interface matches field_id; false otherwise.