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


Classes | |
| class | adjacency_iterator |
| class | edge_iterator |
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 | |
| DBGraphVertex () | |
| adjacency_iterator | begin (DBGraph *graph) |
| adjacency_iterator | end (DBGraph *graph) |
| edge_iterator | edge_list_begin (DBGraph *graph) |
| edge_iterator | edge_list_end (DBGraph *graph) |
| bool | HasAdjacencies (DBGraph *graph) const |
| void | set_vertex (const Vertex &vertex_id) |
| void | VertexInvalidate () |
| bool | IsVertexValid () |
| Vertex | vertex () const |
| void | set_visited (uint64_t current_graph_walk_num) |
| bool | visited (uint64_t current_graph_walk_num) |
| virtual std::string | ToString () 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 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 Attributes | |
| Vertex | vertex_id_ |
| uint64_t | visited_at_ |
Additional Inherited Members | |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
Definition at line 23 of file db_graph_vertex.h.
Definition at line 26 of file db_graph_vertex.h.
Definition at line 25 of file db_graph_vertex.h.
|
inline |
Definition at line 28 of file db_graph_vertex.h.
|
inline |
Definition at line 84 of file db_graph_vertex.h.
|
inline |
Definition at line 91 of file db_graph_vertex.h.
|
inline |
Definition at line 94 of file db_graph_vertex.h.
|
inline |
Definition at line 87 of file db_graph_vertex.h.
| bool DBGraphVertex::HasAdjacencies | ( | DBGraph * | graph | ) | const |
|
inline |
Definition at line 108 of file db_graph_vertex.h.
|
inline |
Definition at line 100 of file db_graph_vertex.h.
|
inline |
Definition at line 114 of file db_graph_vertex.h.
|
pure virtual |
Implements DBEntryBase.
Implemented in IFMapNode.
|
inline |
Definition at line 112 of file db_graph_vertex.h.
|
inline |
Definition at line 104 of file db_graph_vertex.h.
|
inline |
Definition at line 118 of file db_graph_vertex.h.
|
private |
Definition at line 125 of file db_graph_vertex.h.
|
private |
Definition at line 126 of file db_graph_vertex.h.