Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Cpdb Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-reader/pdb.h>

Inheritance diagram for Cpdb:

Inheritance graph
[legend]
Collaboration diagram for Cpdb:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void sizes (unsigned long &_file, unsigned long &_text)=0

Protected Member Functions

size_t recordpos (int)
size_t recordlength (int)
void gotorecordnumber (int)
bool openpdbfile (const char *src)
 Cpdb ()
 ~Cpdb ()
void suspend ()
void unsuspend ()

Protected Attributes

size_t file_length
FILE * fin
DatabaseHdrType head

Constructor & Destructor Documentation

Cpdb::Cpdb  )  [inline, protected]
 

Definition at line 88 of file pdb.h.

Cpdb::~Cpdb  )  [protected]
 

Definition at line 17 of file pdb.cpp.

References fin, NULL, and unsuspend().


Member Function Documentation

void Cpdb::gotorecordnumber int   )  [protected]
 

Definition at line 53 of file pdb.cpp.

References fin, recordpos(), and unsuspend().

Referenced by CPlucker_base::expand(), CPlucker_base::finduid(), ztxt::getbkmklist(), ztxt::getch(), CPlucker_base::getimg(), Aportis::getPicture(), iSilo::getreccode(), CPlucker_base::getTableAsHtml(), CPlucker_base::geturl(), ztxt::home(), CPlucker_base::hyperlink(), ztxt::locate(), CPlucker_base::locate(), CPlucker::NEFendSection(), CPlucker::NEFstartSection(), ztxt::OpenFile(), CPlucker_base::OpenFile(), iSilo::OpenFile(), Aportis::OpenFile(), iSilo::read_attr(), Aportis::refreshbuffer(), and CPlucker_base::sizes().

bool Cpdb::openpdbfile const char *  src  )  [protected]
 

Definition at line 59 of file pdb.cpp.

References file_length, fin, head, and NULL.

Referenced by ztxt::OpenFile(), CPlucker_base::OpenFile(), iSilo::OpenFile(), and Aportis::OpenFile().

size_t Cpdb::recordlength int   )  [protected]
 

Definition at line 48 of file pdb.cpp.

References recordpos().

Referenced by CPlucker_base::expand(), ztxt::getch(), CPlucker_base::getimg(), Aportis::getPicture(), CPlucker_base::getTableAsHtml(), CPlucker_base::geturl(), ztxt::home(), ztxt::locate(), and Aportis::refreshbuffer().

size_t Cpdb::recordpos int   )  [protected]
 

Definition at line 28 of file pdb.cpp.

References file_length, fin, head, RecordListType::numRecords, DatabaseHdrType::recordList, and unsuspend().

Referenced by gotorecordnumber(), Aportis::OpenFile(), and recordlength().

virtual void Cpdb::sizes unsigned long &  _file,
unsigned long &  _text
[pure virtual]
 

Implements CExpander.

Implemented in Aportis, iSilo, CPlucker_base, and ztxt.

void Cpdb::suspend  )  [inline, protected]
 

Definition at line 94 of file pdb.h.

void Cpdb::unsuspend  )  [inline, protected]
 

Definition at line 95 of file pdb.h.

Referenced by CPlucker_base::Expand(), iSilo::get_bits(), ztxt::getbkmklist(), Aportis::getbkmklist(), Aportis::GetBS(), Aportis::getch(), Aportis::getPicture(), gotorecordnumber(), ztxt::home(), ztxt::locate(), Aportis::locate(), recordpos(), Aportis::refreshbuffer(), and ~Cpdb().


Member Data Documentation

size_t Cpdb::file_length [protected]
 

Definition at line 81 of file pdb.h.

Referenced by openpdbfile(), recordpos(), ztxt::sizes(), and CPlucker_base::sizes().

FILE* Cpdb::fin [protected]
 

Definition at line 82 of file pdb.h.

Referenced by CPlucker_base::expand(), CPlucker_base::Expand(), iSilo::get_bits(), ztxt::getbkmklist(), Aportis::getbkmklist(), Aportis::GetBS(), ztxt::getch(), Aportis::getch(), CPlucker::GetHeader(), CPlucker_base::getimg(), Aportis::getPicture(), iSilo::getreccode(), CPlucker_base::geturl(), gotorecordnumber(), ztxt::home(), ztxt::locate(), Aportis::locate(), ztxt::OpenFile(), CPlucker_base::OpenFile(), iSilo::OpenFile(), Aportis::OpenFile(), openpdbfile(), iSilo::read_attr(), recordpos(), Aportis::refreshbuffer(), and ~Cpdb().

DatabaseHdrType Cpdb::head [protected]
 

Definition at line 86 of file pdb.h.

Referenced by CPlucker::bgetch(), CPlucker::CorrectDecoder(), CPlucker_base::expand(), CPlucker_base::finduid(), CPlucker_base::hyperlink(), CPlucker::NEFendSection(), ztxt::OpenFile(), CPlucker_base::OpenFile(), iSilo::OpenFile(), Aportis::OpenFile(), openpdbfile(), recordpos(), and CPlucker_base::sizes().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:29:45 2005 for OPIE by  doxygen 1.4.2