OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DBGraphEdge Class Referenceabstract

#include <db_graph_edge.h>

Inheritance diagram for DBGraphEdge:
Collaboration diagram for DBGraphEdge:

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
 
DBGraphVertexsource (DBGraph *graph)
 
const DBGraphVertexsource (DBGraph *graph) const
 
DBGraphVertextarget (DBGraph *graph)
 
const DBGraphVertextarget (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)
 
DBStateGetState (DBTableBase *tbl_base, ListenerId listener) const
 
const DBStateGetState (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
 
DBTablePartBaseget_table_partition () const
 
void set_table_partition (DBTablePartBase *tpart)
 
DBTableBaseget_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_
 

Detailed Description

Definition at line 16 of file db_graph_edge.h.

Member Typedef Documentation

Constructor & Destructor Documentation

DBGraphEdge::DBGraphEdge ( )

Definition at line 9 of file db_graph_edge.cc.

Member Function Documentation

DBGraphEdge::DISALLOW_COPY_AND_ASSIGN ( DBGraphEdge  )
private
Edge DBGraphEdge::edge_id ( ) const
inline

Definition at line 25 of file db_graph_edge.h.

Here is the call graph for this function:

virtual const std::string& DBGraphEdge::name ( ) const
pure virtual

Implemented in IFMapLink.

void DBGraphEdge::SetEdge ( Edge  edge)

Definition at line 12 of file db_graph_edge.cc.

Here is the call graph for this function:

DBGraphVertex * DBGraphEdge::source ( DBGraph graph)

Definition at line 17 of file db_graph_edge.cc.

Here is the call graph for this function:

const DBGraphVertex * DBGraphEdge::source ( DBGraph graph) const

Definition at line 22 of file db_graph_edge.cc.

Here is the call graph for this function:

DBGraphVertex * DBGraphEdge::target ( DBGraph graph)

Definition at line 27 of file db_graph_edge.cc.

Here is the call graph for this function:

const DBGraphVertex * DBGraphEdge::target ( DBGraph graph) const

Definition at line 32 of file db_graph_edge.cc.

Here is the call graph for this function:

Member Data Documentation

Edge DBGraphEdge::edge_id_
private

Definition at line 39 of file db_graph_edge.h.


The documentation for this class was generated from the following files: