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

#include <SqliteDatabaseGraph.h>

Inheritance diagram for cgNode:
Collaboration diagram for cgNode:

Public Member Functions

 cgNode (int graphid, int node, std::string &name)
 
 cgNode (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_nodeid (int id)
 
int get_nodeid ()
 
void set_nodename (std::string &name)
 
std::string get_nodename ()
 
- 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 nodeId
 
std::string nodeName
 
- 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 196 of file SqliteDatabaseGraph.h.

Constructor & Destructor Documentation

cgNode::cgNode ( int  graphid,
int  node,
std::string &  name 
)
inline
cgNode::cgNode ( sqlite3x::sqlite3_reader &  r)
inline

Definition at line 215 of file SqliteDatabaseGraph.h.

References load().

Member Function Documentation

void cgNode::load ( sqlite3x::sqlite3_reader &  r)
inlinevirtual

Implements dbRow.

Definition at line 217 of file SqliteDatabaseGraph.h.

References gid, nodeId, nodeName, and dbRow::rowid.

Referenced by cgNode().

void cgNode::insert ( sqlite3x::sqlite3_connection *  db)
inlinevirtual
void cgNode::set_graphid ( int  id)
inline

Definition at line 249 of file SqliteDatabaseGraph.h.

References gid.

int cgNode::get_graphid ( )
inline

Definition at line 250 of file SqliteDatabaseGraph.h.

References gid.

void cgNode::set_nodeid ( int  id)
inline

Definition at line 252 of file SqliteDatabaseGraph.h.

References nodeId.

int cgNode::get_nodeid ( )
inline

Definition at line 253 of file SqliteDatabaseGraph.h.

References nodeId.

void cgNode::set_nodename ( std::string &  name)
inline

Definition at line 255 of file SqliteDatabaseGraph.h.

References dbTable::name, and nodeName.

std::string cgNode::get_nodename ( )
inline

Definition at line 256 of file SqliteDatabaseGraph.h.

References nodeName.

Member Data Documentation

int cgNode::gid

Definition at line 258 of file SqliteDatabaseGraph.h.

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

int cgNode::nodeId

Definition at line 259 of file SqliteDatabaseGraph.h.

Referenced by cgNode(), get_nodeid(), insert(), load(), and set_nodeid().

std::string cgNode::nodeName

Definition at line 260 of file SqliteDatabaseGraph.h.

Referenced by cgNode(), get_nodename(), insert(), load(), and set_nodename().


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