ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cgEdge Class Reference

#include <SqliteDatabaseGraph.h>

Inheritance diagram for cgEdge:
Collaboration diagram for cgEdge:

Public Member Functions

 cgEdge ()
 
 cgEdge (int graphid, int edge, int source, int target)
 
 cgEdge (sqlite3x::sqlite3_reader &r)
 
void load (sqlite3x::sqlite3_reader &r)
 
void insert (sqlite3x::sqlite3_connection *db)
 
void set_graphid (int id)
 
int get_graphid ()
 
void set_edgeId (int id)
 
int get_edgeId ()
 
void set_sourceId (int source)
 
int get_sourceId ()
 
void set_targetId (int target)
 
int get_targetId ()
 
- Public Member Functions inherited from dbRow
 dbRow (const char *table)
 
void set_id (long id)
 
long get_id () const
 
- Public Member Functions inherited from dbTable
 dbTable (const char *table)
 
std::string table ()
 
std::string field_list ()
 
std::vector< std::string > field_types ()
 
std::vector< std::string > getColumnNames ()
 

Public Attributes

int gid
 
int edgeId
 
int sourceId
 
int targetId
 
- Public Attributes inherited from dbRow
long rowid
 
- Public Attributes inherited from dbTable
std::string name
 
std::vector< std::string > columnNames
 
std::vector< std::string > columnTypes
 

Detailed Description

Definition at line 263 of file SqliteDatabaseGraph.h.

Constructor & Destructor Documentation

cgEdge::cgEdge ( )
inline

Definition at line 266 of file SqliteDatabaseGraph.h.

cgEdge::cgEdge ( int  graphid,
int  edge,
int  source,
int  target 
)
inline
cgEdge::cgEdge ( sqlite3x::sqlite3_reader &  r)
inline

Definition at line 287 of file SqliteDatabaseGraph.h.

References load().

Member Function Documentation

void cgEdge::set_graphid ( int  id)
inline

Definition at line 324 of file SqliteDatabaseGraph.h.

References gid.

int cgEdge::get_graphid ( )
inline

Definition at line 325 of file SqliteDatabaseGraph.h.

References gid.

void cgEdge::set_edgeId ( int  id)
inline

Definition at line 327 of file SqliteDatabaseGraph.h.

References edgeId.

void cgEdge::set_sourceId ( int  source)
inline

Definition at line 330 of file SqliteDatabaseGraph.h.

References sourceId.

void cgEdge::set_targetId ( int  target)
inline

Definition at line 333 of file SqliteDatabaseGraph.h.

References targetId.

Member Data Documentation

int cgEdge::gid

Definition at line 336 of file SqliteDatabaseGraph.h.

Referenced by cgEdge(), get_graphid(), insert(), load(), and set_graphid().

int cgEdge::edgeId

Definition at line 337 of file SqliteDatabaseGraph.h.

Referenced by cgEdge(), get_edgeId(), insert(), load(), and set_edgeId().

int cgEdge::sourceId

Definition at line 338 of file SqliteDatabaseGraph.h.

Referenced by cgEdge(), get_sourceId(), insert(), load(), and set_sourceId().

int cgEdge::targetId

Definition at line 339 of file SqliteDatabaseGraph.h.

Referenced by cgEdge(), get_targetId(), insert(), load(), and set_targetId().


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