#include <gate.hh>
Public Member Functions | |
GateEntry (const address_t &naddr, const unsigned prefix) | |
virtual | ~GateEntry () |
const address_t & | net_addr () const |
const address_t & | netmask_addr () const |
const unsigned & | prefix () const |
bool | operator< (const This &rhs) const |
Private Types | |
typedef GateEntry | This |
typedef utl::MultiStampable < 1, address_t > | Super |
Private Attributes | |
const address_t | naddr_ |
const address_t | nmask_ |
const unsigned | prefix_ |
typedef GateEntry olsr::set::GateEntry::This [private] |
Reimplemented from olsr::utl::MultiStampable< Dim, Key, Compare >.
typedef utl::MultiStampable<1, address_t> olsr::set::GateEntry::Super [private] |
olsr::set::GateEntry::GateEntry | ( | const address_t & | naddr, | |
const unsigned | prefix | |||
) | [inline] |
virtual olsr::set::GateEntry::~GateEntry | ( | ) | [inline, virtual] |
const unsigned& olsr::set::GateEntry::prefix | ( | ) | const [inline] |
References prefix_.
bool olsr::set::GateEntry::operator< | ( | const This & | rhs | ) | const [inline] |
const address_t olsr::set::GateEntry::naddr_ [private] |
Referenced by net_addr(), and operator<().
const address_t olsr::set::GateEntry::nmask_ [private] |
Referenced by netmask_addr().
const unsigned olsr::set::GateEntry::prefix_ [private] |
Referenced by operator<(), and prefix().