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

#include <SqliteDatabaseGraph.h>

Inheritance diagram for cgData:
Collaboration diagram for cgData:

Public Member Functions

 cgData (int project, int type)
 
 cgData (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_projectid (int id)
 
int get_projectid ()
 
void set_graphtype (int type)
 
int get_graphtype ()
 
- 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 projectId
 
int graphType
 
- 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 133 of file SqliteDatabaseGraph.h.

Constructor & Destructor Documentation

cgData::cgData ( int  project,
int  type 
)
inline
cgData::cgData ( sqlite3x::sqlite3_reader &  r)
inline

Definition at line 149 of file SqliteDatabaseGraph.h.

References load().

Member Function Documentation

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

Implements dbRow.

Definition at line 152 of file SqliteDatabaseGraph.h.

References graphType, projectId, and dbRow::rowid.

Referenced by cgData().

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

Definition at line 183 of file SqliteDatabaseGraph.h.

References projectId.

void cgData::set_projectid ( int  id)
inline

Definition at line 186 of file SqliteDatabaseGraph.h.

References projectId.

int cgData::get_projectid ( )
inline

Definition at line 187 of file SqliteDatabaseGraph.h.

References projectId.

void cgData::set_graphtype ( int  type)
inline

Definition at line 189 of file SqliteDatabaseGraph.h.

References graphType.

int cgData::get_graphtype ( )
inline

Definition at line 190 of file SqliteDatabaseGraph.h.

References graphType.

Member Data Documentation

int cgData::projectId
int cgData::graphType

Definition at line 193 of file SqliteDatabaseGraph.h.

Referenced by cgData(), get_graphtype(), insert(), load(), and set_graphtype().


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