olsr::set::TwoHopNeighborSet Class Reference

#include <neighbors.hh>

List of all members.

Public Types

typedef val_tset_t thnset_t

Public Member Functions

thnset_tthnset ()
 TwoHopNeighborSet ()
virtual ~TwoHopNeighborSet ()
void insert (const TwoHopNeighbor &x)
void erase (const tset_t::iterator &pos)
void erase (const tset_t::value_type &x)

Private Types

typedef TwoHopNeighborSet This
typedef sch::Updatable
< TwoHopNeighbor
elem_t
typedef std::set< elem_ttset_t
typedef sch::upd::SetEraser
< This, tset_t::iterator > 
eraser_t
typedef sch::UpdateEvent
< eraser_t
updater_t
typedef utl::Subset< tset_t,
utl::NoAction< This,
tset_t::iterator >
, utl::DefaultPredicate< This,
tset_t::iterator >, This
val_tset_t

Private Attributes

tset_t tset_
thnset_t thnset_

Friends

class sch::StatePrinter


Member Typedef Documentation

typedef std::set<elem_t> olsr::set::TwoHopNeighborSet::tset_t [private]

typedef sch::upd::SetEraser<This, tset_t::iterator> olsr::set::TwoHopNeighborSet::eraser_t [private]

typedef utl::Subset<tset_t, utl::NoAction<This, tset_t::iterator>, utl::DefaultPredicate<This, tset_t::iterator>, This> olsr::set::TwoHopNeighborSet::val_tset_t [private]


Constructor & Destructor Documentation

olsr::set::TwoHopNeighborSet::TwoHopNeighborSet (  )  [inline]

virtual olsr::set::TwoHopNeighborSet::~TwoHopNeighborSet (  )  [inline, virtual]


Member Function Documentation

thnset_t& olsr::set::TwoHopNeighborSet::thnset (  )  [inline]

References thnset_.

Referenced by olsr::alg::mprselection().

void olsr::set::TwoHopNeighborSet::insert ( const TwoHopNeighbor x  )  [inline]

void olsr::set::TwoHopNeighborSet::erase ( const tset_t::iterator &  pos  )  [inline]

void olsr::set::TwoHopNeighborSet::erase ( const tset_t::value_type &  x  )  [inline]

References erase(), and tset_.


Friends And Related Function Documentation

friend class sch::StatePrinter [friend]


Member Data Documentation

Referenced by thnset().


The documentation for this class was generated from the following files:

Generated on Thu Feb 12 20:45:39 2009 for Qolyester daemon by  doxygen 1.5.6