openvrml::node_interface_matches_eventin Struct Reference
[Nodes]
List of all members.
Detailed Description
Determine if a
node_interface matches an eventIn identifier.
- Model of
- AdaptableBinaryPredicate, DefaultConstructible
|
Public Member Functions |
result_type | operator() (const first_argument_type &interface, const second_argument_type &eventin_id) const |
| Determine if a node_interface matches an eventIn identifier.
|
Member Function Documentation
node_interface_matches_eventin::result_type openvrml::node_interface_matches_eventin::operator() |
( |
const first_argument_type & |
interface, |
|
|
const second_argument_type & |
eventin_id |
|
) |
const [inline] |
|
|
Determine if a node_interface matches an eventIn identifier.
A node_interface matches an eventIn identifier if:
- the node_interface's type is node_interface::eventin_id and
- the node_interface's id is lexicographically equal to the eventIn identifier
- or the node_interface's id is lexicographically equal to the eventIn identifier with the string "set_" prepended.
- or, the node_interface's type is node_interface::exposedfield_id and
- the node_interface's id is lexicographically equal to the eventIn identifier
- or the node_interface's id with the string "set_" prepended is lexicographically equal to the eventIn identifier.
- Parameters:
-
- Returns:
true if interface matches eventin_id ; false otherwise.
|