#include <IntIntTblLR.H>
Public Types | |
| typedef Basics::uint16 | int_type |
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 (long lk, int_type &v) const throw () |
| bool | Put (long lk, long lv) throw (InvalidKey, InvalidValue) |
| bool | Delete (long lk, int_type &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 () |
Static Public Member Functions | |
| static int_type | CheckKey (long lk) throw (InvalidKey) |
| static int_type | CheckValue (long lv) throw (InvalidValue) |
Static Public Attributes | |
| static const int_type | Unused |
Private Attributes | |
| int | numEntries |
| int | eltLen |
| int_type * | elt |
Friends | |
| class | IntIntTblIter |
Classes | |
| struct | InvalidKey |
| struct | InvalidValue |
Definition at line 31 of file IntIntTblLR.H.
| typedef Basics::uint16 IntIntTblLR::int_type |
Definition at line 33 of file IntIntTblLR.H.
| IntIntTblLR::IntIntTblLR | ( | int | sizeHint = 0 |
) | throw () |
| IntIntTblLR::IntIntTblLR | ( | const IntIntTblLR * | tbl | ) | throw () |
| IntIntTblLR::IntIntTblLR | ( | RecoveryReader & | rd | ) | throw (VestaLog::Error, VestaLog::Eof) [inline] |
Definition at line 58 of file IntIntTblLR.H.
References Recover().
Here is the call graph for this function:

| IntIntTblLR::IntIntTblLR | ( | std::istream & | ifs | ) | throw (FS::EndOfFile, FS::Failure) [inline] |
Definition at line 60 of file IntIntTblLR.H.
References Read().
Here is the call graph for this function:

| IntIntTblLR::~IntIntTblLR | ( | ) | throw () [inline] |
| IntIntTblLR::int_type IntIntTblLR::CheckKey | ( | long | lk | ) | throw (InvalidKey) [static] |
Definition at line 72 of file IntIntTblLR.C.
Referenced by VPKFile::NewEntry().
Here is the caller graph for this function:

| IntIntTblLR::int_type IntIntTblLR::CheckValue | ( | long | lv | ) | throw (InvalidValue) [static] |
Definition at line 81 of file IntIntTblLR.C.
Referenced by VPKFile::NewEntry().
Here is the caller graph for this function:

| bool IntIntTblLR::Get | ( | long | lk, | |
| int_type & | v | |||
| ) | const throw () |
Definition at line 90 of file IntIntTblLR.C.
| bool IntIntTblLR::Put | ( | long | lk, | |
| long | lv | |||
| ) | throw (InvalidKey, InvalidValue) |
Definition at line 106 of file IntIntTblLR.C.
References max(), and NEW_PTRFREE_ARRAY.
Referenced by VPKFile::NewEntry(), and CE::T::Pack().
Here is the call graph for this function:

Here is the caller graph for this function:

| bool IntIntTblLR::Delete | ( | long | lk, | |
| int_type & | v | |||
| ) | throw () |
Definition at line 146 of file IntIntTblLR.C.
| int IntIntTblLR::Size | ( | ) | const throw () [inline] |
Definition at line 88 of file IntIntTblLR.H.
References numEntries.
Referenced by CE::T::Pack(), and CFPObj::Search().
Here is the caller graph for this function:

| int IntIntTblLR::ArraySize | ( | ) | const throw () [inline] |
| void IntIntTblLR::Log | ( | VestaLog & | log | ) | const throw (VestaLog::Error) |
Definition at line 164 of file IntIntTblLR.C.
Referenced by CE::T::Log().
Here is the caller graph for this function:

| void IntIntTblLR::Recover | ( | RecoveryReader & | rd | ) | throw (VestaLog::Error, VestaLog::Eof) |
Definition at line 182 of file IntIntTblLR.C.
References NEW_PTRFREE_ARRAY.
Referenced by IntIntTblLR().
Here is the caller graph for this function:

| void IntIntTblLR::Write | ( | std::ostream & | ofs | ) | const throw (FS::Failure) |
| void IntIntTblLR::Read | ( | std::istream & | ifs | ) | throw (FS::EndOfFile, FS::Failure) |
| void IntIntTblLR::Print | ( | std::ostream & | os, | |
| int | indent | |||
| ) | const throw () |
friend class IntIntTblIter [friend] |
Definition at line 116 of file IntIntTblLR.H.
const IntIntTblLR::int_type IntIntTblLR::Unused [static] |
int IntIntTblLR::numEntries [private] |
int IntIntTblLR::eltLen [private] |
int_type* IntIntTblLR::elt [private] |
1.5.1