class MreSgKey

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

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

Public Methods


Detailed Description

 MreSgKey (const SourceGroup& source_group)

MreSgKey

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 MreSgKey& 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 MreSgKey& 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 Wed Dec 11 16:50:45 2002, using kdoc 2.0a54+XORP.