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

IntIntTblLR Class Reference

#include <IntIntTblLR.H>

List of all members.

Public Member Functions

 IntIntTblLR (int sizeHint=0) throw ()
 IntIntTblLR (const IntIntTblLR *tbl) throw ()
 IntIntTblLR (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
 IntIntTblLR (std::istream &ifs) throw (FS::EndOfFile, FS::Failure)
 ~IntIntTblLR () throw ()
bool Get (short k, short &v) const throw ()
bool Put (short k, short v) throw ()
bool Delete (short k, short &v) throw ()
int Size () const throw ()
int ArraySize () const throw ()
void Log (VestaLog &log) const throw (VestaLog::Error)
void Recover (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
void Write (std::ostream &ofs) const throw (FS::Failure)
void Read (std::istream &ifs) throw (FS::EndOfFile, FS::Failure)
void Print (std::ostream &os, int indent) const throw ()

Private Attributes

int numEntries
int eltLen
short * elt

Friends

class IntIntTblIter


Constructor & Destructor Documentation

IntIntTblLR::IntIntTblLR int  sizeHint = 0  )  throw ()
 

Definition at line 37 of file IntIntTblLR.C.

References NEW_PTRFREE_ARRAY.

IntIntTblLR::IntIntTblLR const IntIntTblLR tbl  )  throw ()
 

Definition at line 51 of file IntIntTblLR.C.

References NEW_PTRFREE_ARRAY.

IntIntTblLR::IntIntTblLR RecoveryReader rd  )  throw (VestaLog::Error, VestaLog::Eof) [inline]
 

Definition at line 39 of file IntIntTblLR.H.

References Recover().

IntIntTblLR::IntIntTblLR std::istream &  ifs  )  throw (FS::EndOfFile, FS::Failure) [inline]
 

Definition at line 41 of file IntIntTblLR.H.

References Read().

IntIntTblLR::~IntIntTblLR  )  throw () [inline]
 

Definition at line 43 of file IntIntTblLR.H.

References elt.


Member Function Documentation

int IntIntTblLR::ArraySize  )  const throw () [inline]
 

Definition at line 65 of file IntIntTblLR.H.

References eltLen.

bool IntIntTblLR::Delete short  k,
short &  v
throw ()
 

Definition at line 117 of file IntIntTblLR.C.

bool IntIntTblLR::Get short  k,
short &  v
const throw ()
 

Definition at line 68 of file IntIntTblLR.C.

Referenced by VPKFile::CycleDeletedNamesInList().

void IntIntTblLR::Log VestaLog log  )  const throw (VestaLog::Error)
 

Definition at line 132 of file IntIntTblLR.C.

Referenced by CE::T::Log().

void IntIntTblLR::Print std::ostream &  os,
int  indent
const throw ()
 

Definition at line 249 of file IntIntTblLR.C.

References Indent().

bool IntIntTblLR::Put short  k,
short  v
throw ()
 

Definition at line 81 of file IntIntTblLR.C.

References max(), and NEW_PTRFREE_ARRAY.

Referenced by CE::T::Pack(), VPKFile::CycleDeletedNamesInList(), and VPKFile::NewEntry().

void IntIntTblLR::Read std::istream &  ifs  )  throw (FS::EndOfFile, FS::Failure)
 

Definition at line 206 of file IntIntTblLR.C.

References NEW_PTRFREE_ARRAY, and FS::Read().

Referenced by IntIntTblLR().

void IntIntTblLR::Recover RecoveryReader rd  )  throw (VestaLog::Error, VestaLog::Eof)
 

Definition at line 150 of file IntIntTblLR.C.

References NEW_PTRFREE_ARRAY.

Referenced by IntIntTblLR().

int IntIntTblLR::Size  )  const throw () [inline]
 

Definition at line 62 of file IntIntTblLR.H.

References numEntries.

Referenced by CE::T::Pack(), and CFPObj::Search().

void IntIntTblLR::Write std::ostream &  ofs  )  const throw (FS::Failure)
 

Definition at line 188 of file IntIntTblLR.C.

References FS::Write().

Referenced by CE::T::WriteExtras().


Friends And Related Function Documentation

friend class IntIntTblIter [friend]
 

Definition at line 90 of file IntIntTblLR.H.


Member Data Documentation

short* IntIntTblLR::elt [private]
 

Definition at line 88 of file IntIntTblLR.H.

Referenced by ~IntIntTblLR().

int IntIntTblLR::eltLen [private]
 

Definition at line 87 of file IntIntTblLR.H.

Referenced by ArraySize().

int IntIntTblLR::numEntries [private]
 

Definition at line 86 of file IntIntTblLR.H.

Referenced by Size().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:10 2006 for Vesta by  doxygen 1.4.2