class InternalRouteEntry

Internal routing entry, potentially one per area. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Internal routing entry, potentially one per area.

 InternalRouteEntry ()

InternalRouteEntry

 InternalRouteEntry (const InternalRouteEntry& rhs)

InternalRouteEntry

InternalRouteEntry&  operator= (const InternalRouteEntry& rhs)

operator=

void  copy (const InternalRouteEntry& rhs)

copy

bool  add_entry (OspfTypes::AreaID area, const RouteEntry<A>& rt)

add_entry

Add entry indexed by area.

Returns: true on sucess.

bool  replace_entry (OspfTypes::AreaID area, const RouteEntry<A>& rt)

replace_entry

bool  delete_entry (OspfTypes::AreaID, bool& winner_changed)

delete_entry

Delete entry. Perfectly safe to attempt to delete an entry for an area even if no entry exists.

Parameters:

areaarea ID.
winner_changedout parameter set to true if this entry was the winner.

Returns: true if an entry was deleted.

RouteEntry<A>&  get_entry ()

get_entry

[const]

Get the winning entry.

bool  get_entry (OspfTypes::AreaID area, RouteEntry<A>& rt)

get_entry

[const]

Look from an entry for this specific area.

Parameters:

areaarea ID.
rtif a match is found this is filled in with the route.

Returns: true if an entry for this area was found.

bool  empty ()

empty

[const]

Are there any entries?

string  str ()

str


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:44 2006, using kdoc $.