OpenSDN source code
|
#include <policy_edge.h>
Public Types | |
typedef PolicyGraphBase::edge_descriptor | Edge |
typedef PolicyGraphBase::vertex_descriptor | Vertex |
Public Member Functions | |
PolicyGraphEdge (Edge edge_id) | |
Edge | edge_id () const |
PolicyGraphVertex * | source (PolicyGraph *graph) |
const PolicyGraphVertex * | source (PolicyGraph *graph) const |
PolicyGraphVertex * | target (PolicyGraph *graph) |
const PolicyGraphVertex * | target (PolicyGraph *graph) const |
virtual bool | IsMatchValue () |
virtual bool | IsNilMatch () |
virtual bool | IsNextFeed () |
bool | operator== (const PolicyGraphEdge &rhs) const |
virtual bool | IsSame (const PolicyGraphEdge &rhs) const =0 |
virtual bool | IsLess (const PolicyGraphEdge &rhs) const =0 |
bool | operator< (const PolicyGraphEdge &rhs) const |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (PolicyGraphEdge) | |
Private Attributes | |
Edge | edge_id_ |
Definition at line 15 of file policy_edge.h.
Definition at line 17 of file policy_edge.h.
Definition at line 18 of file policy_edge.h.
|
explicit |
Definition at line 9 of file policy_edge.cc.
|
private |
|
inline |
Definition at line 22 of file policy_edge.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in PolicyMatchValueEdge.
Definition at line 30 of file policy_edge.h.
|
inlinevirtual |
Reimplemented in PolicyNextFeederEdge.
Definition at line 38 of file policy_edge.h.
|
inlinevirtual |
Reimplemented in PolicyNilMatch.
Definition at line 34 of file policy_edge.h.
|
pure virtual |
|
inline |
|
inline |
PolicyGraphVertex * PolicyGraphEdge::source | ( | PolicyGraph * | graph | ) |
const PolicyGraphVertex * PolicyGraphEdge::source | ( | PolicyGraph * | graph | ) | const |
PolicyGraphVertex * PolicyGraphEdge::target | ( | PolicyGraph * | graph | ) |
const PolicyGraphVertex * PolicyGraphEdge::target | ( | PolicyGraph * | graph | ) | const |
|
private |
Definition at line 56 of file policy_edge.h.