|
|
Holds information about an XRL module that requested to be notified about a change.
ModuleData (const string& modulename)
| ModuleData |
ModuleData Constructor
Parameters:
modulename | the XRL target name of the module that requested notification about a route change. |
const string& name ()
| name |
[const]
Returns: the XRL target name of the module.
bool is_set ()
| is_set |
[const]
Returns: true if the XRL module needs to be notified about a change.
void set ()
| set |
[const]
Set state indicating the XRL module needs to be notified about a change.
void clear ()
| clear |
[const]
Clear state indicating the XRL module needs to be notified about a change.
string str ()
| str |
[const]
Returns: string representation of this ModuleData for debugging purposes.
bool operator== (const ModuleData& other)
| operator== |
[const]
Comparison operator for ModuleData class.
Two ModuleData instances are considered equal if they refer to the same XRL target, irrespective of the state of their flags.
Parameters:
other | the right-hand operand to compare against. |
Returns: true if the left-hand operand is considered equal to the right-hand operand (i.e., if both operands refer to the same XRL target).
bool operator< (const ModuleData& other)
| operator< |
[const]
Less-than operator for ModuleData class.
This is needed so that ModuleData instances can be stored in some STL containers.
Parameters:
other | the right-hand operand to compare against. |
Returns: true if the left-hand operand is considered smaller than the right-hand operand.