class MreGsKey

Class for (S,G) lookup key (Group-first, Source-second priority). More...

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

Public Methods


Detailed Description

 MreGsKey (const SourceGroup& source_group)

MreGsKey

Constructor for a given SourceGroup entry.

Parameters:
source_groupa reference to the corresponding (S,G) entry.

const SourceGroup&  source_group ()

source_group

[const]

Get the corresponding SourceGroup entry.

Returns: a reference to the corresponding (S,G) entry.

bool  operator< (const MreGsKey& other)

operator<

[const]

Less-Than Operator

Parameters:
otherthe right-hand operand to compare against.

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

bool  operator== (const MreGsKey& other)

operator==

[const]

Equality Operator

Parameters:
otherthe right-hand operand to compare against.

Returns: true if the left-hand operand is numerically same as the right-hand operand.


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