#include <graph.hh>
Public Member Functions | |
AdjInfo (const address_t &ep1, const address_t &ep2, AdjTag tag=topo) | |
const address_t & | endpoint1 () const |
const address_t & | endpoint2 () const |
AdjTag | tag () const |
bool | operator== (const This &rhs) const |
std::string | to_string () const |
Static Public Member Functions | |
static const This & | make_key (const address_t &ep1, const address_t &ep2, AdjTag tag=topo) |
static This | invert (const This &x) |
Private Types | |
typedef AdjInfo | This |
Private Member Functions | |
AdjInfo () | |
Private Attributes | |
const address_t | _ep1 |
First endpoint. | |
const address_t | _ep2 |
Second endpoint. | |
const AdjTag | _tag |
Static Private Attributes | |
static This | _dummy_for_find |
Static arc for key generation. |
It is aimed to be augmented with additional attributes, to reflect link state.
|
|
|
The private constructor. It is defined solely for the initialization of _dummy_for_find. |
|
The general constructor.
|
|
First endpoint accessor.
|
|
Second endpoint accessor.
|
|
Arc inverter.
|
|
Key builder for find operations.
|
|
Equality operator. Compares only endpoint addresses for the moment. Defined maily for hashing structures.
|
|
|
|
|
|
Static arc for key generation.
|
|
First endpoint.
|
|
Second endpoint.
|
|
|