Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

DBMap Class Reference

#include <jAPIcollectors.h>

Inheritance diagram for DBMap:

DBMapDataBundle List of all members.

Public Member Functions

 DBMap ()
 ~DBMap ()
bool __fastcall connect (AnsiString _location)
bool __fastcall connect (TStream *_stream, bool _create=false)
bool __fastcall disconnect ()
bool __fastcall clear ()
int __fastcall count ()
int __fastcall maxRef ()
int __fastcall add (TStream *_stream)
bool __fastcall remove (int _ref)
int __fastcall removeAtPos (int _pos)
bool __fastcall replace (int _ref, TStream *_stream)
int __fastcall atPos (int _pos, TStream *_stream)
bool __fastcall at (int _key, TStream *_stream)
bool __fastcall atPtr (int _key, TStream **_stream, int &_size)
int __fastcall getKey (int _pos)
bool __fastcall getIndex (TStrings *_sl)
void __fastcall lock ()
void __fastcall unlock ()
bool __fastcall debug (TStrings *_sl, TCanvas *_cv=NULL, TRect rect=TRect(0, 0, 0, 0))

Static Public Member Functions

DBMap *__fastcall getInstance (AnsiString _location)

Protected Member Functions

bool __fastcall loadIndex ()
bool __fastcall saveIndex ()
bool __fastcall checkHeader ()
bool __fastcall writeHeader ()

Protected Attributes

HANDLE mutexHandle
int start
int idxStart
int dbStart
IntMap index
AnsiString m_header
jMemoryManager m_mgr
TStream * m_stream

Constructor & Destructor Documentation

DBMap::DBMap  )  [inline]
 

DBMap::~DBMap  )  [inline]
 


Member Function Documentation

int __fastcall DBMap::add TStream *  _stream  ) 
 

bool __fastcall DBMap::at int  _key,
TStream *  _stream
 

int __fastcall DBMap::atPos int  _pos,
TStream *  _stream
 

bool __fastcall DBMap::atPtr int  _key,
TStream **  _stream,
int &  _size
 

bool __fastcall DBMap::checkHeader  )  [protected]
 

bool __fastcall DBMap::clear  ) 
 

bool __fastcall DBMap::connect TStream *  _stream,
bool  _create = false
 

bool __fastcall DBMap::connect AnsiString  _location  ) 
 

int __fastcall DBMap::count  )  [inline]
 

bool __fastcall DBMap::debug TStrings *  _sl,
TCanvas *  _cv = NULL,
TRect  rect = TRect(0, 0, 0, 0)
 

bool __fastcall DBMap::disconnect  ) 
 

bool __fastcall DBMap::getIndex TStrings *  _sl  ) 
 

DBMap *__fastcall DBMap::getInstance AnsiString  _location  )  [static]
 

int __fastcall DBMap::getKey int  _pos  )  [inline]
 

bool __fastcall DBMap::loadIndex  )  [protected]
 

void __fastcall DBMap::lock  ) 
 

int __fastcall DBMap::maxRef  ) 
 

bool __fastcall DBMap::remove int  _ref  ) 
 

int __fastcall DBMap::removeAtPos int  _pos  ) 
 

bool __fastcall DBMap::replace int  _ref,
TStream *  _stream
 

bool __fastcall DBMap::saveIndex  )  [protected]
 

void __fastcall DBMap::unlock  ) 
 

bool __fastcall DBMap::writeHeader  )  [protected]
 


Member Data Documentation

int DBMap::dbStart [protected]
 

int DBMap::idxStart [protected]
 

IntMap DBMap::index [protected]
 

AnsiString DBMap::m_header [protected]
 

jMemoryManager DBMap::m_mgr [protected]
 

TStream* DBMap::m_stream [protected]
 

HANDLE DBMap::mutexHandle [protected]
 

int DBMap::start [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Nov 15 10:52:35 2003 for JAPI by doxygen 1.3.4