#include <ODB.H>
Inheritance diagram for Database:
Definition at line 14 of file ODB.H.
[char*] fileName = the name of the DBF file to be opened [int] bufferAll = read the whole database into memory or not
Definition at line 14 of file ODB.CPP.
References NULL.
Definition at line 28 of file ODB.CPP.
References close().
Database::close()
Definition at line 131 of file ODB.CPP.
References mem_del, and NULL.
Referenced by ~Database().
[inline]
Definition at line 61 of file ODB.H.
Database::open( char* fileName )
<char*> fileName = the name of the DBF file to be opened [int] bufferAll = read the whole database into memory or not (default : 0)
return 1 : opened successfully 0 : opening failure
Definition at line 45 of file ODB.CPP.
Open the database from an buffer with the database pre-read in
<char*> dataPtr = the pointer to the pre-read database in the memory
Definition at line 76 of file ODB.CPP.
Referenced by GameSet::open_db().
Database::read( long recNum )
[recNum] = the record number of the record to be read (default : current record no.)
return : <char*> success, the pointer to the reading buffer <NULL> fail
Definition at line 102 of file ODB.CPP.
Referenced by SpriteFrameRes::load_info().
Definition at line 64 of file ODB.H.
Definition at line 65 of file ODB.H.