#include <TacDb.h>
Inheritance diagram for tacpp::DbModule:
Public Member Functions | |
void | setLocation (ipaddr) |
ipaddr | getLocation () |
void | setDbname (string) |
string | getDbname () |
void | setDbport (unsigned int) |
unsigned int | getDbport () |
void | setCryptokey (string) |
string | getCryptokey () |
void | setUsername (const string) |
string | getUsername () |
void | setPassword (const string) |
string | getPassword () |
void | setModule (const string) |
string | getModule () |
void | setShutdown (bool) |
bool | getShutdown () |
void | setdbid (const char *, const char *, int) |
string | getdbid () |
string | encrypt (char *, char *) |
string | decrypt (char *, char *) |
void | create_md5_hash (unsigned char *, unsigned char *) |
void | md5_xor (unsigned char *, unsigned char *) |
DbModule (const char *, const char *, const char *, int, const char *, const char *, const char *) | |
bool | db_open (int *) |
bool | db_close (int) |
bool | db_query (int, DbTable *) |
string | db_function (int, char *) |
bool | db_get (int, DbTable *, int) |
bool | db_create (int, DbTable *, char *) |
bool | db_create_idx (int, DbTable *, char *) |
bool | db_add (int, DbTable *) |
bool | db_update (int, DbTable *) |
bool | db_del (int, DbTable *) |
~DbModule () | |
Public Attributes | |
void(* | dl_init )() |
void(* | dl_destroy )() |
int(* | dl_open )(char *, int, char *, char *, char *, char *) |
bool(* | dl_close )(int) |
bool(* | dl_query )(int, DbTable *, char *) |
char *(* | dl_function )(int, char *, char *) |
bool(* | dl_get )(int, DbTable *, int, char *) |
bool(* | dl_create )(int, DbTable *, char *) |
bool(* | dl_create_idx )(int, DbTable *, char *) |
bool(* | dl_add )(int, DbTable *, char *) |
bool(* | dl_update )(int, DbTable *, char *) |
bool(* | dl_del )(int, DbTable *, char *) |
|
we call to Db constructor in body |
|
free |
|
create hash |
|
insert to table |
|
disconnect from |
|
create table |
|
create table index |
|
delete from table |
|
send query to function |
|
get data |
|
connect to |
|
send query |
|
update |
|
data decryption |
|
data encryption |
|
get c key |
|
get db engine id string |
|
get db name |
|
get db port |
|
get locat |
|
get module |
|
get pwd |
|
get shutd |
|
get usnam |
|
do xor |
|
cryptokey_ |
|
set database engine id |
|
dbname_ |
|
dbport_ |
|
location_ |
|
module_ |
|
password_ |
|
shutdown_ |
|
username_ |
|
insert |
|
disconnect from server |
|
create table |
|
create table index |
|
delete |
|
destroy database driver |
|
function query |
|
get data |
|
init database driver |
|
connect to server |
|
send query |
|
update |