A IP route.
More...
A IP route.
Definition at line 247 of file route.hpp.
◆ key_t
The key for a route.
Definition at line 253 of file route.hpp.
◆ ip_route() [1/5]
VOM::route::ip_route::ip_route |
( |
const prefix_t & |
prefix | ) |
|
Construct a route in the default table.
Definition at line 263 of file route.cpp.
◆ ip_route() [2/5]
VOM::route::ip_route::ip_route |
( |
const prefix_t & |
prefix, |
|
|
const path & |
p |
|
) |
| |
Construct a route with a path.
Definition at line 255 of file route.cpp.
◆ ip_route() [3/5]
VOM::route::ip_route::ip_route |
( |
const ip_route & |
r | ) |
|
◆ ip_route() [4/5]
Construct a route in the given route domain.
Definition at line 279 of file route.cpp.
◆ ip_route() [5/5]
Construct a route in the given route domain with a path.
Definition at line 287 of file route.cpp.
◆ ~ip_route()
VOM::route::ip_route::~ip_route |
( |
| ) |
|
◆ add()
void VOM::route::ip_route::add |
( |
const path & |
path | ) |
|
◆ dump()
void VOM::route::ip_route::dump |
( |
std::ostream & |
os | ) |
|
|
static |
Dump all route-doamin into the stream provided.
Definition at line 386 of file route.cpp.
◆ find() [1/2]
static std::shared_ptr<ip_route> VOM::route::ip_route::find |
( |
const ip_route & |
temp | ) |
|
|
static |
Find the instnace of the route domain in the OM.
◆ find() [2/2]
std::shared_ptr< ip_route > VOM::route::ip_route::find |
( |
const key_t & |
k | ) |
|
|
static |
Return the matching 'singular instance'.
Definition at line 374 of file route.cpp.
◆ key()
Get the route's key.
Definition at line 307 of file route.cpp.
◆ operator==()
bool VOM::route::ip_route::operator== |
( |
const ip_route & |
i | ) |
const |
Comparison operator.
Definition at line 313 of file route.cpp.
◆ remove()
void VOM::route::ip_route::remove |
( |
const path & |
path | ) |
|
◆ replay()
void VOM::route::ip_route::replay |
( |
void |
| ) |
|
|
virtual |
◆ singular()
std::shared_ptr< ip_route > VOM::route::ip_route::singular |
( |
| ) |
const |
Return the matching 'singular instance'.
Definition at line 380 of file route.cpp.
◆ to_string()
std::string VOM::route::ip_route::to_string |
( |
void |
| ) |
const |
|
virtual |
◆ singular_db< key_t, ip_route >
◆ VOM::OM
The documentation for this class was generated from the following files: