| 
 | 
 | ||||||||||||||||
| Vertex () | Vertex | 
| explicit  Vertex (const Neighbor& n) | Vertex | 
| explicit  Vertex (const TwoHopNeighbor& n2) | Vertex | 
| explicit  Vertex (const IPv4& main_addr) | Vertex | 
| explicit  Vertex (const TopologyEntry& tc) | Vertex | 
| inline bool  operator< (const Vertex& other) | operator< | 
[const]
Compare two Vertex instances for less-than ordering.
Collation order for sort: 1. Main address; always unique.
XXX The following two can't be relied upon... because differentiating them at all means we can't look up nodes purely by their address! 2. Is origin vertex: true, false. 3. Vertex type: origin, onehop, twohop, tc.
Parameters:
| other | node to compare with. | 
Returns: true if this node comes before the other node.
| inline bool  operator== (const Vertex& other) | operator== | 
[const]
Compare two Vertex instances for equality.
Comparison is performed solely on the main address of the node, which is always unique.
Parameters:
| other | node to compare with. | 
Returns: true if this node and the other node are equal.
| inline void  set_main_addr (const IPv4& main_addr) | set_main_addr | 
| inline IPv4  main_addr () | main_addr | 
[const]
| void  set_nodeid (uint32_t nid) | set_nodeid | 
| uint32_t  nodeid () | nodeid | 
[const]
| void  set_is_origin (bool v) | set_is_origin | 
| bool  is_origin () | is_origin | 
[const]
Returns: true if this node represents this router.
| void  set_producer (const IPv4& producer) | set_producer | 
| IPv4  producer () | producer | 
[const]
| void  set_faceid (const OlsrTypes::FaceID fid) | set_faceid | 
| OlsrTypes::FaceID  faceid () | faceid | 
[const]
| const LogicalLink*  link () | link | 
[const]
Returns: the LogicalLink associated with a one-hop neighbor.
| void  set_link (const LogicalLink* l) | set_link | 
| const TwoHopLink*  twohop_link () | twohop_link | 
[const]
Returns: the TwoHopLink associated with a two-hop neighbor.
| void  set_twohop_link (const TwoHopLink* l2) | set_twohop_link | 
| void  set_type (const OlsrTypes::VertexType t) | set_type | 
| OlsrTypes::VertexType  type () | type | 
[const]
| string  str () | str | 
[const]