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

#include <SqliteDatabaseGraph.h>

Inheritance diagram for dbRow:
Collaboration diagram for dbRow:

Public Member Functions

 dbRow (const char *table)
 
void set_id (long id)
 
long get_id () const
 
virtual void load (sqlite3x::sqlite3_reader &r)=0
 
virtual void insert (sqlite3x::sqlite3_connection *db)=0
 
- 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

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 67 of file SqliteDatabaseGraph.h.

Constructor & Destructor Documentation

dbRow::dbRow ( const char *  table)
inline

Definition at line 70 of file SqliteDatabaseGraph.h.

Member Function Documentation

void dbRow::set_id ( long  id)
inline

Definition at line 72 of file SqliteDatabaseGraph.h.

References rowid.

long dbRow::get_id ( ) const
inline

Definition at line 73 of file SqliteDatabaseGraph.h.

References rowid.

virtual void dbRow::load ( sqlite3x::sqlite3_reader &  r)
pure virtual

Implemented in cgEdge, cgNode, cgData, and projectsRow.

virtual void dbRow::insert ( sqlite3x::sqlite3_connection *  db)
pure virtual

Implemented in cgEdge, cgNode, cgData, and projectsRow.

Member Data Documentation


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