#include <cSqlAct.h>
Inheritance diagram for cSqlAct:
Public Member Functions | |
cSqlAct (void) | |
~cSqlAct (void) | |
Bool | Connect (void) |
Return TRUE if success. | |
void | Close (void) |
Close SQL connection. | |
Int | ErrorNum (void) |
Return the error number for the most recently executed query. | |
list< string > | GetDatabaseList (void) |
Get Database list. | |
Bool | CreateDatabase (string sDbName) |
Create Database. | |
Bool | DeleteDatabase (string sDbName) |
Delete Database. | |
Bool | SelectDatabase (string sDbName) |
Select database. | |
void | CreateTables (void) |
Create all tables of a database. | |
list< list< string > > | GetFileList (void) |
Get a File List with their General information. | |
list< list< string > > | GetMovieList (void) |
Get a Movie List with their General information. | |
list< list< string > > | GetSoftwareList (void) |
Get a Software List with their General information. | |
list< list< string > > | GetMusicList (void) |
Get a Music List with their General information. | |
list< string > | GetFileRowResult (const string sMd4) |
Get a row data of FILE table. | |
list< string > | GetMovieRowResult (const string sMd4) |
Get a row data of MOVIE table. | |
list< string > | GetSoftwareRowResult (const string sMd4) |
Get a row data of SOFTWARE table. | |
list< string > | GetMusicRowResult (const string sMd4) |
Get a row data of MUSIC table. | |
Bool | InsertNewEntry2File (cFile *File) |
INSERT new entry into FILE tabel. | |
Bool | InsertNewEntry2Movie (cMovie *Movie) |
INSERT new entry into MOVIE table. | |
Bool | InsertNewEntry2Music (cMusic *Music) |
INSERT new entry into MUSIC table. | |
Bool | InsertNewEntry2Software (cSoftware *Software) |
INSERT new entry into SOFTWARE table. | |
Bool | IsMd4Found (const string sMd4) |
Is Md4 is found in FILE table. | |
const string | GetCategory (const string sMd4) |
Get category string from FILE table. | |
Bool | UpdateFile (cFile *pFile) |
UPDATE FILE table. | |
Bool | UpdateMovie (cMovie *pMovie) |
UPDATE MOVIE table. | |
Bool | UpdateSoftware (cSoftware *pSoftware) |
UPDATE SOFTWARE table. | |
Bool | UpdateMusic (cMusic *pMusic) |
UPDATE MUSIC table. | |
Bool | DeleteFromFile (const string sMd4) |
DELETE entry from FILE table. | |
Bool | DeleteFromMovie (const string sMd4) |
DELETE entry from MOVIE table. | |
Bool | DeleteFromSoftware (const string sMd4) |
DELETE entry from SOFTWARE table. | |
Bool | DeleteFromMusic (const string sMd4) |
DELETE entry from MUSIC table. | |
Private Attributes | |
cMySQL | MySQL |
cConnect * | m_pConnect |
|
|
|
|
|
Close SQL connection.
Implements cSqlBaseIf. |
|
Return TRUE if success.
Implements cSqlBaseIf. |
|
Create Database.
Implements cSqlBaseIf. |
|
Create all tables of a database.
Implements cSqlBaseIf. |
|
Delete Database.
Implements cSqlBaseIf. |
|
DELETE entry from FILE table.
Implements cSqlBaseIf. |
|
DELETE entry from MOVIE table.
Implements cSqlBaseIf. |
|
DELETE entry from MUSIC table.
Implements cSqlBaseIf. |
|
DELETE entry from SOFTWARE table.
Implements cSqlBaseIf. |
|
Return the error number for the most recently executed query.
Implements cSqlBaseIf. |
|
Get category string from FILE table.
Implements cSqlBaseIf. |
|
Get Database list.
Implements cSqlBaseIf. |
|
Get a File List with their General information.
Implements cSqlBaseIf. |
|
Get a row data of FILE table.
Implements cSqlBaseIf. |
|
Get a Movie List with their General information.
Implements cSqlBaseIf. |
|
Get a row data of MOVIE table.
Implements cSqlBaseIf. |
|
Get a Music List with their General information.
Implements cSqlBaseIf. |
|
Get a row data of MUSIC table.
Implements cSqlBaseIf. |
|
Get a Software List with their General information.
Implements cSqlBaseIf. |
|
Get a row data of SOFTWARE table.
Implements cSqlBaseIf. |
|
INSERT new entry into FILE tabel.
Implements cSqlBaseIf. |
|
INSERT new entry into MOVIE table.
Implements cSqlBaseIf. |
|
INSERT new entry into MUSIC table.
Implements cSqlBaseIf. |
|
INSERT new entry into SOFTWARE table.
Implements cSqlBaseIf. |
|
Is Md4 is found in FILE table.
Implements cSqlBaseIf. |
|
Select database.
Implements cSqlBaseIf. |
|
UPDATE FILE table.
Implements cSqlBaseIf. |
|
UPDATE MOVIE table.
Implements cSqlBaseIf. |
|
UPDATE MUSIC table.
Implements cSqlBaseIf. |
|
UPDATE SOFTWARE table.
Implements cSqlBaseIf. |
|
|
|
|