#include <cSqlBaseIf.h>
Inheritance diagram for cSqlBaseIf:
Public Member Functions | |
cSqlBaseIf (void) | |
Constructor. | |
virtual | ~cSqlBaseIf (void) |
Destructor. Don't know why I have to put virtual in front of the destructor. | |
Protected Member Functions | |
virtual Bool | Connect (void)=0 |
Return TRUE if connnection is connected successfully. | |
virtual void | Close (void)=0 |
Close SQL connection. | |
virtual Int | ErrorNum (void)=0 |
Return the error number for the most recently executed query. | |
virtual list< string > | GetDatabaseList (void)=0 |
Get Database list. | |
virtual Bool | CreateDatabase (string sDbName)=0 |
Create Database. | |
virtual Bool | DeleteDatabase (string sDbName)=0 |
Delete Database. | |
virtual Bool | SelectDatabase (string sDbName)=0 |
Select database. | |
virtual void | CreateTables (void)=0 |
Create all tables of a database. | |
virtual list< list< string > > | GetFileList (void)=0 |
Get a File List with their General information. | |
virtual list< list< string > > | GetMovieList (void)=0 |
Get a Movie List with their General information. | |
virtual list< list< string > > | GetSoftwareList (void)=0 |
Get a Software List with their General information. | |
virtual list< list< string > > | GetMusicList (void)=0 |
Get a Music List with their General information. | |
virtual list< string > | GetFileRowResult (const string sMd4)=0 |
Get a row data of FILE table. | |
virtual list< string > | GetMovieRowResult (const string sMd4)=0 |
Get a row data of MOVIE table. | |
virtual list< string > | GetSoftwareRowResult (const string sMd4)=0 |
Get a row data of SOFTWARE table. | |
virtual list< string > | GetMusicRowResult (const string sMd4)=0 |
Get a row data of MUSIC table. | |
virtual Bool | InsertNewEntry2File (cFile *File)=0 |
INSERT new entry into FILE table. | |
virtual Bool | InsertNewEntry2Movie (cMovie *Movie)=0 |
INSERT new entry into MOVIE table. | |
virtual Bool | InsertNewEntry2Music (cMusic *Music)=0 |
INSERT new entry into MUSIC table. | |
virtual Bool | InsertNewEntry2Software (cSoftware *Software)=0 |
INSERT new entry into SOFTWARE table. | |
virtual Bool | IsMd4Found (const string sMd4)=0 |
Is Md4 is found in FILE table. | |
virtual const string | GetCategory (const string sMd4)=0 |
Get category string from FILE table. | |
virtual Bool | UpdateFile (cFile *pFile)=0 |
UPDATE FILE table. | |
virtual Bool | UpdateMovie (cMovie *pMovie)=0 |
UPDATE MOVIE table. | |
virtual Bool | UpdateSoftware (cSoftware *pSoftware)=0 |
UPDATE SOFTWARE table. | |
virtual Bool | UpdateMusic (cMusic *pMusic)=0 |
UPDATE MUSIC table. | |
virtual Bool | DeleteFromFile (const string sMd4)=0 |
DELETE entry from FILE table. | |
virtual Bool | DeleteFromMovie (const string sMd4)=0 |
DELETE entry from MOVIE table. | |
virtual Bool | DeleteFromSoftware (const string sMd4)=0 |
DELETE entry from SOFTWARE table. | |
virtual Bool | DeleteFromMusic (const string sMd4)=0 |
DELETE entry from MUSIC table. |
|
Constructor.
|
|
Destructor. Don't know why I have to put virtual in front of the destructor.
|
|
Close SQL connection.
|
|
Return TRUE if connnection is connected successfully.
|
|
Create Database.
|
|
Create all tables of a database.
|
|
Delete Database.
|
|
DELETE entry from FILE table.
|
|
DELETE entry from MOVIE table.
|
|
DELETE entry from MUSIC table.
|
|
DELETE entry from SOFTWARE table.
|
|
Return the error number for the most recently executed query.
|
|
Get category string from FILE table.
|
|
Get Database list.
|
|
Get a File List with their General information.
|
|
Get a row data of FILE table.
|
|
Get a Movie List with their General information.
|
|
Get a row data of MOVIE table.
|
|
Get a Music List with their General information.
|
|
Get a row data of MUSIC table.
|
|
Get a Software List with their General information.
|
|
Get a row data of SOFTWARE table.
|
|
INSERT new entry into FILE table.
|
|
INSERT new entry into MOVIE table.
|
|
INSERT new entry into MUSIC table.
|
|
INSERT new entry into SOFTWARE table.
|
|
Is Md4 is found in FILE table.
|
|
Select database.
|
|
UPDATE FILE table.
|
|
UPDATE MOVIE table.
|
|
UPDATE MUSIC table.
|
|
UPDATE SOFTWARE table.
|