class ModuleData

Holds information about an XRL module that requested to be notified about a change. More...

Definition#include <rt_tab_register.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Holds information about an XRL module that requested to be notified about a change.

 ModuleData (const string& modulename)

ModuleData

ModuleData Constructor

Parameters:
modulenamethe 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:
otherthe 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:
otherthe right-hand operand to compare against.

Returns: true if the left-hand operand is considered smaller than the right-hand operand.


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:19 2003, using kdoc 2.0a54+XORP.