Eneboo - Documentación para desarrolladores
|
#include <dataset.h>
Métodos públicos | |
Database () | |
virtual | ~Database () |
virtual Dataset * | CreateDataset () const =0 |
void | setHostName (const char *newHost) |
const char * | getHostName (void) const |
void | setPort (const char *newPort) |
const char * | getPort (void) const |
void | setDatabase (const char *newDb) |
const char * | getDatabase (void) const |
void | setLogin (const char *newLogin) |
const char * | getLogin (void) const |
void | setPasswd (const char *newPasswd) |
const char * | getPasswd (void) const |
virtual bool | isActive (void) const |
void | setSequenceTable (const char *new_seq_table) |
const char * | getSequenceTable (void) |
virtual int | init (void) |
virtual int | status (void) |
virtual int | setErr (int err_code, const char *qry)=0 |
virtual const char * | getErrorMsg (void) |
virtual int | connect (void) |
virtual int | connectFull (const char *newDb, const char *newHost=NULL, const char *newLogin=NULL, const char *newPasswd=NULL, const char *newPort=NULL) |
virtual void | disconnect (void) |
virtual int | reset (void) |
virtual int | create (void) |
virtual int | drop (void) |
virtual long | nextid (const char *seq_name)=0 |
virtual void | start_transaction () |
virtual void | commit_transaction () |
virtual void | rollback_transaction () |
virtual bool | in_transaction () |
Atributos protegidos | |
bool | active |
string | error |
string | host |
string | port |
string | db |
string | login |
string | passwd |
string | sequence_table |
dbiplus::Database::Database | ( | ) |
dbiplus::Database::~Database | ( | ) | [virtual] |
virtual void dbiplus::Database::commit_transaction | ( | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
virtual int dbiplus::Database::connect | ( | void | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
int dbiplus::Database::connectFull | ( | const char * | newDb, |
const char * | newHost = NULL , |
||
const char * | newLogin = NULL , |
||
const char * | newPasswd = NULL , |
||
const char * | newPort = NULL |
||
) | [virtual] |
virtual int dbiplus::Database::create | ( | void | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
virtual Dataset* dbiplus::Database::CreateDataset | ( | ) | const [pure virtual] |
Implementado en dbiplus::SqliteDatabase.
virtual void dbiplus::Database::disconnect | ( | void | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
virtual int dbiplus::Database::drop | ( | void | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
const char* dbiplus::Database::getDatabase | ( | void | ) | const [inline] |
virtual const char* dbiplus::Database::getErrorMsg | ( | void | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
const char* dbiplus::Database::getHostName | ( | void | ) | const [inline] |
const char* dbiplus::Database::getLogin | ( | void | ) | const [inline] |
const char* dbiplus::Database::getPasswd | ( | void | ) | const [inline] |
const char* dbiplus::Database::getPort | ( | void | ) | const [inline] |
const char* dbiplus::Database::getSequenceTable | ( | void | ) | [inline] |
virtual bool dbiplus::Database::in_transaction | ( | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
virtual int dbiplus::Database::init | ( | void | ) | [inline, virtual] |
virtual bool dbiplus::Database::isActive | ( | void | ) | const [inline, virtual] |
virtual long dbiplus::Database::nextid | ( | const char * | seq_name | ) | [pure virtual] |
Implementado en dbiplus::SqliteDatabase.
virtual int dbiplus::Database::reset | ( | void | ) | [inline, virtual] |
virtual void dbiplus::Database::rollback_transaction | ( | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
void dbiplus::Database::setDatabase | ( | const char * | newDb | ) | [inline] |
Implementado en dbiplus::SqliteDatabase.
void dbiplus::Database::setHostName | ( | const char * | newHost | ) | [inline] |
void dbiplus::Database::setLogin | ( | const char * | newLogin | ) | [inline] |
void dbiplus::Database::setPasswd | ( | const char * | newPasswd | ) | [inline] |
void dbiplus::Database::setPort | ( | const char * | newPort | ) | [inline] |
void dbiplus::Database::setSequenceTable | ( | const char * | new_seq_table | ) | [inline] |
virtual void dbiplus::Database::start_transaction | ( | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
virtual int dbiplus::Database::status | ( | void | ) | [inline, virtual] |
Reimplementado en dbiplus::SqliteDatabase.
bool dbiplus::Database::active [protected] |
string dbiplus::Database::db [protected] |
string dbiplus::Database::error [protected] |
string dbiplus::Database::host [protected] |
string dbiplus::Database::login [protected] |
string dbiplus::Database::passwd [protected] |
string dbiplus::Database::port [protected] |
string dbiplus::Database::sequence_table [protected] |