Eneboo - Documentación para desarrolladores
Métodos públicos | Métodos protegidos | Atributos protegidos
Referencia de la Clase dbiplus::Dataset

#include <dataset.h>

Diagrama de herencias de dbiplus::Dataset
dbiplus::SqliteDataset

Lista de todos los miembros.

Métodos públicos

virtual int str_compare (const char *s1, const char *s2)
 Dataset ()
 Dataset (Database *newDb)
virtual ~Dataset ()
void setDatabase (Database *newDb)
DatabasegetDatabase (void)
void setExecSql (const char *newSql)
const char * getExecSql (void)
virtual bool isActive (void)
virtual void setSqlParams (const char *sqlFrmt, sqlType t,...)
virtual long nextid (const char *seq_name)=0
virtual int num_rows ()=0
virtual void open (const string &sql)=0
virtual void open ()=0
virtual int exec (const string &sql)=0
virtual int exec ()=0
virtual const void * getExecRes ()=0
virtual bool query (const char *sql)=0
virtual void close ()
virtual void refresh ()
virtual bool seek (int pos=0)
virtual bool goto_rec (int pos=1)
virtual void first ()
virtual void next ()
virtual void prev ()
virtual void last ()
virtual bool eof (void)
virtual bool bof (void)
virtual void insert ()
virtual void append ()
virtual void edit ()
virtual void post ()
virtual void deletion ()
virtual void cancel ()
virtual void setParamList (const ParamList &params)
virtual bool locate ()
virtual bool locate (const ParamList &params)
virtual bool findNext ()
virtual int field_count ()
virtual int fieldCount ()
virtual const char * fieldName (int n)
virtual int fieldIndex (const char *fn)
virtual int fieldSize (int n)
virtual bool set_field_value (const char *f_name, const field_value &value)
virtual bool sf (const char *f, const field_value &v)
virtual const field_value get_field_value (const char *f_name)
const field_value fv (const char *f)
void set_autocommit (bool v)
bool get_autocommit ()
Fieldsget_fields_object ()
Fieldsget_edit_object ()
dsStates get_state ()
void set_select_sql (const char *sel_sql)
void set_select_sql (const string &select_sql)
void add_update_sql (const char *upd_sql)
void add_update_sql (const string &upd_sql)
void add_insert_sql (const char *ins_sql)
void add_insert_sql (const string &ins_sql)
void add_delete_sql (const char *del_sql)
void add_delete_sql (const string &del_sql)
void clear_update_sql ()
void clear_insert_sql ()
void clear_delete_sql ()
const char * get_select_sql ()

Métodos protegidos

virtual void make_insert ()=0
virtual void make_edit ()=0
virtual void make_deletion ()=0
virtual void fill_fields (void)=0
void parse_sql (string &sql)
virtual const field_value f_old (const char *f)

Atributos protegidos

Databasedb
dsStates ds_state
Fieldsfields_object
Fieldsedit_object
bool active
bool haveError
int frecno
string sql
ParamList plist
bool fbof
bool feof
bool autocommit
string empty_sql
string select_sql
StringList update_sql
StringList insert_sql
StringList delete_sql

Documentación del constructor y destructor

dbiplus::Dataset::Dataset ( )
dbiplus::Dataset::Dataset ( Database newDb)
dbiplus::Dataset::~Dataset ( ) [virtual]

Documentación de las funciones miembro

void dbiplus::Dataset::add_delete_sql ( const char *  del_sql)
void dbiplus::Dataset::add_delete_sql ( const string &  del_sql)
void dbiplus::Dataset::add_insert_sql ( const char *  ins_sql)
void dbiplus::Dataset::add_insert_sql ( const string &  ins_sql)
void dbiplus::Dataset::add_update_sql ( const char *  upd_sql)
void dbiplus::Dataset::add_update_sql ( const string &  upd_sql)
virtual void dbiplus::Dataset::append ( ) [inline, virtual]
virtual bool dbiplus::Dataset::bof ( void  ) [inline, virtual]

Reimplementado en dbiplus::SqliteDataset.

virtual void dbiplus::Dataset::cancel ( ) [inline, virtual]

Reimplementado en dbiplus::SqliteDataset.

void dbiplus::Dataset::clear_delete_sql ( )
void dbiplus::Dataset::clear_insert_sql ( )
void dbiplus::Dataset::clear_update_sql ( )
void dbiplus::Dataset::close ( void  ) [virtual]

Reimplementado en dbiplus::SqliteDataset.

void dbiplus::Dataset::deletion ( ) [virtual]
void dbiplus::Dataset::edit ( ) [virtual]
virtual bool dbiplus::Dataset::eof ( void  ) [inline, virtual]

Reimplementado en dbiplus::SqliteDataset.

virtual int dbiplus::Dataset::exec ( const string &  sql) [pure virtual]

Implementado en dbiplus::SqliteDataset.

virtual int dbiplus::Dataset::exec ( ) [pure virtual]

Implementado en dbiplus::SqliteDataset.

const field_value dbiplus::Dataset::f_old ( const char *  f) [protected, virtual]
int dbiplus::Dataset::field_count ( ) [virtual]
int dbiplus::Dataset::fieldCount ( ) [virtual]
int dbiplus::Dataset::fieldIndex ( const char *  fn) [virtual]
const char * dbiplus::Dataset::fieldName ( int  n) [virtual]
int dbiplus::Dataset::fieldSize ( int  n) [virtual]
virtual void dbiplus::Dataset::fill_fields ( void  ) [protected, pure virtual]

Implementado en dbiplus::SqliteDataset.

bool dbiplus::Dataset::findNext ( void  ) [virtual]
void dbiplus::Dataset::first ( ) [virtual]

Reimplementado en dbiplus::SqliteDataset.

const field_value dbiplus::Dataset::fv ( const char *  f) [inline]
bool dbiplus::Dataset::get_autocommit ( ) [inline]
Fields* dbiplus::Dataset::get_edit_object ( ) [inline]
const field_value dbiplus::Dataset::get_field_value ( const char *  f_name) [virtual]
Fields* dbiplus::Dataset::get_fields_object ( ) [inline]
const char* dbiplus::Dataset::get_select_sql ( )
dsStates dbiplus::Dataset::get_state ( ) [inline]
Database* dbiplus::Dataset::getDatabase ( void  ) [inline]
virtual const void* dbiplus::Dataset::getExecRes ( ) [pure virtual]

Implementado en dbiplus::SqliteDataset.

const char* dbiplus::Dataset::getExecSql ( void  ) [inline]
bool dbiplus::Dataset::goto_rec ( int  pos = 1) [virtual]
void dbiplus::Dataset::insert ( ) [virtual]
virtual bool dbiplus::Dataset::isActive ( void  ) [inline, virtual]
void dbiplus::Dataset::last ( ) [virtual]

Reimplementado en dbiplus::SqliteDataset.

bool dbiplus::Dataset::locate ( ) [virtual]
bool dbiplus::Dataset::locate ( const ParamList params) [virtual]
virtual void dbiplus::Dataset::make_deletion ( ) [protected, pure virtual]

Implementado en dbiplus::SqliteDataset.

virtual void dbiplus::Dataset::make_edit ( ) [protected, pure virtual]

Implementado en dbiplus::SqliteDataset.

virtual void dbiplus::Dataset::make_insert ( ) [protected, pure virtual]

Implementado en dbiplus::SqliteDataset.

void dbiplus::Dataset::next ( void  ) [virtual]

Reimplementado en dbiplus::SqliteDataset.

virtual long dbiplus::Dataset::nextid ( const char *  seq_name) [pure virtual]

Implementado en dbiplus::SqliteDataset.

virtual int dbiplus::Dataset::num_rows ( ) [pure virtual]

Implementado en dbiplus::SqliteDataset.

virtual void dbiplus::Dataset::open ( ) [pure virtual]

Implementado en dbiplus::SqliteDataset.

virtual void dbiplus::Dataset::open ( const string &  sql) [pure virtual]

Implementado en dbiplus::SqliteDataset.

void dbiplus::Dataset::parse_sql ( string &  sql) [protected]
void dbiplus::Dataset::post ( ) [virtual]
void dbiplus::Dataset::prev ( void  ) [virtual]

Reimplementado en dbiplus::SqliteDataset.

virtual bool dbiplus::Dataset::query ( const char *  sql) [pure virtual]

Implementado en dbiplus::SqliteDataset.

void dbiplus::Dataset::refresh ( ) [virtual]
bool dbiplus::Dataset::seek ( int  pos = 0) [virtual]

Reimplementado en dbiplus::SqliteDataset.

void dbiplus::Dataset::set_autocommit ( bool  v) [inline]
bool dbiplus::Dataset::set_field_value ( const char *  f_name,
const field_value value 
) [virtual]
void dbiplus::Dataset::set_select_sql ( const string &  select_sql)
void dbiplus::Dataset::set_select_sql ( const char *  sel_sql)
void dbiplus::Dataset::setDatabase ( Database newDb) [inline]
void dbiplus::Dataset::setExecSql ( const char *  newSql) [inline]
void dbiplus::Dataset::setParamList ( const ParamList params) [virtual]
void dbiplus::Dataset::setSqlParams ( const char *  sqlFrmt,
sqlType  t,
  ... 
) [virtual]
virtual bool dbiplus::Dataset::sf ( const char *  f,
const field_value v 
) [inline, virtual]
int dbiplus::Dataset::str_compare ( const char *  s1,
const char *  s2 
) [virtual]

Documentación de los datos miembro

string dbiplus::Dataset::empty_sql [protected]
string dbiplus::Dataset::select_sql [protected]
string dbiplus::Dataset::sql [protected]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'