xorp

MribTableIterator Class Reference

The Multicast Routing Information Base Table iterator. More...

#include <mrib_table.hh>

List of all members.

Public Member Functions

 MribTableIterator (MribLookup *mrib_lookup)
 Constructor for a given MribLookup entry.
 MribTableIterator ()
 Destructor.
MribTableIteratoroperator++ ()
 Increment Operator (prefix).
MribTableIterator operator++ (int)
 Increment Operator (postfix).
bool operator== (const MribTableIterator &other) const
 Equality Operator.
bool operator!= (const MribTableIterator &other) const
 Not-Equal Operator.
Mriboperator* () const
 Indirection Operator.

Private Attributes

MribLookup_mrib_lookup

Detailed Description

The Multicast Routing Information Base Table iterator.


Constructor & Destructor Documentation

MribTableIterator::MribTableIterator ( MribLookup mrib_lookup) [inline]

Constructor for a given MribLookup entry.

Parameters:
mrib_lookupthe basic MribLookup entry.

Member Function Documentation

bool MribTableIterator::operator!= ( const MribTableIterator other) const [inline]

Not-Equal Operator.

Parameters:
otherthe right-hand operand to compare against.
Returns:
true if the left-hand operand is not same as the right-hand operand.
Mrib * MribTableIterator::operator* ( ) const

Indirection Operator.

Returns:
a pointer to the Mrib entry that corresponds to this iterator.
MribTableIterator MribTableIterator::operator++ ( int  )

Increment Operator (postfix).

Increment the iterator to point to the next MribLookup entry.

Returns:
the value of the iterator before it was incremented.
See also:
MribLookup::get_next()
MribTableIterator & MribTableIterator::operator++ ( )

Increment Operator (prefix).

Increment the iterator to point to the next MribLookup entry.

Returns:
a reference to the iterator after it was incremented.
See also:
MribLookup::get_next()
bool MribTableIterator::operator== ( const MribTableIterator other) const [inline]

Equality Operator.

Parameters:
otherthe right-hand operand to compare against.
Returns:
true if the left-hand operand is same as the right-hand operand.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations