|
OpenSDN source code
|
#include <db_graph_edge.h>


Public Types | |
| typedef DBGraphBase::vertex_descriptor | Vertex |
| typedef DBGraphBase::edge_descriptor | Edge |
Public Types inherited from DBEntryBase | |
| typedef DBTableBase::ListenerId | ListenerId |
| typedef std::unique_ptr< DBRequestKey > | KeyPtr |
Public Member Functions | |
| DBGraphEdge () | |
| void | SetEdge (Edge edge) |
| Edge | edge_id () const |
| DBGraphVertex * | source (DBGraph *graph) |
| const DBGraphVertex * | source (DBGraph *graph) const |
| DBGraphVertex * | target (DBGraph *graph) |
| const DBGraphVertex * | target (DBGraph *graph) const |
| virtual const std::string & | name () const =0 |
Public Member Functions inherited from DBEntry | |
| DBEntry () | |
| virtual | ~DBEntry () |
| virtual void | SetKey (const DBRequestKey *key)=0 |
| virtual bool | IsLess (const DBEntry &rhs) const =0 |
| bool | operator< (const DBEntry &rhs) const |
Public Member Functions inherited from DBEntryBase | |
| DBEntryBase () | |
| virtual | ~DBEntryBase () |
| virtual std::string | ToString () const =0 |
| virtual KeyPtr | GetDBRequestKey () const =0 |
| virtual bool | IsMoreSpecific (const std::string &match) const |
| virtual bool | IsLessSpecific (const std::string &match) const |
| void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
| void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
| DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
| const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
| bool | is_state_empty (DBTablePartBase *tpart) |
| bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
| void | Delete () |
| void | MarkDelete () |
| void | ClearDelete () |
| bool | IsDeleted () const |
| void | set_onlist () |
| void | clear_onlist () |
| bool | is_onlist () |
| void | SetOnRemoveQ () |
| bool | IsOnRemoveQ () |
| void | ClearOnRemoveQ () |
| void | set_last_change_at (uint64_t time) |
| void | set_last_change_at_to_now () |
| const uint64_t | last_change_at () const |
| const std::string | last_change_at_str () const |
| void | set_last_update_at (uint64_t time) |
| void | set_last_update_at_to_now () |
| const uint64_t | last_update_at () const |
| DBTablePartBase * | get_table_partition () const |
| void | set_table_partition (DBTablePartBase *tpart) |
| DBTableBase * | get_table () const |
| void | Notify () |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (DBGraphEdge) | |
Private Attributes | |
| Edge | edge_id_ |
Additional Inherited Members | |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
Definition at line 16 of file db_graph_edge.h.
Definition at line 19 of file db_graph_edge.h.
Definition at line 18 of file db_graph_edge.h.
| DBGraphEdge::DBGraphEdge | ( | ) |
Definition at line 9 of file db_graph_edge.cc.
|
private |
|
inline |
|
pure virtual |
Implemented in IFMapLink.
| void DBGraphEdge::SetEdge | ( | Edge | edge | ) |
| DBGraphVertex * DBGraphEdge::source | ( | DBGraph * | graph | ) |
| const DBGraphVertex * DBGraphEdge::source | ( | DBGraph * | graph | ) | const |
| DBGraphVertex * DBGraphEdge::target | ( | DBGraph * | graph | ) |
| const DBGraphVertex * DBGraphEdge::target | ( | DBGraph * | graph | ) | const |
|
private |
Definition at line 39 of file db_graph_edge.h.