| Home | Download | Screen shots | Discussion | Documentation |
|---|
Function object to compare two node_interfaces based on their id.
More...
#include <openvrml/node.h>
Inherits binary_function< node_interface, node_interface, bool >.
Public Member Functions | |
| result_type | operator() (const first_argument_type &lhs, const second_argument_type &rhs) const |
Compare two node_interfaces based on their id. More... | |
Function object to compare two node_interfaces based on their id.
node_interface_compare provides a Strict Weak Ordering for node_interfaces and ensures that exposedField definitions appropriately encroach on the namespace of eventIn and eventOut definitions. That is, per 4.7 of the VRML97 spec: “An exposedField named ‘zzz’ can be referred to as ‘set_zzz’ and treated as an eventIn, and can be referred to as ‘zzz_changed’ and treated as an eventOut.”
node_interface_compare is the comparator used by node_interface_set.
|
inline |
Compare two node_interfaces based on their id.
| [in] | lhs | node_interface. |
| [in] | rhs | node_interface. |
true if lhs.id is lexicographically less than rhs.id; false otherwise.