class NextTableMap

NextTableMap behaves more or less like a map between a BGPRouteTable<A>* and a const PeerHandler*, but it gives deterministic ordering semantics so our test suites aren't dependent on the memory allocator. More...

Definition#include <route_table_fanout.hh>
Template formNextTableMap<class A>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

NextTableMap behaves more or less like a map between a BGPRouteTable<A>* and a const PeerHandler*, but it gives deterministic ordering semantics so our test suites aren't dependent on the memory allocator. This class basically hides the complexity of maintaining two parallel data structures from the main FanoutTable code

typedef NextTableMapIterator<A> iterator

iterator

 NextTableMap ()

NextTableMap

 ~NextTableMap ()

~NextTableMap

void  insert (BGPRouteTable<A> *next_table, const PeerHandler *ph)

insert

void  erase (iterator& iter)

erase

iterator  find (BGPRouteTable<A> *next_table)

find

iterator  begin ()

begin

iterator  end ()

end


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:04 2003, using kdoc 2.0a54+XORP.