#include <PrefixTbl.H>
Public Member Functions | |
PrefixTbl () throw () | |
PrefixTbl (int szHint) throw () | |
PrefixTbl (std::istream &ifs) throw (FS::EndOfFile, FS::Failure) | |
int | PrefixIndex (int idx) const throw () |
Text | Arc (int idx) const throw () |
int | NumArcs () const throw () |
int | Put (const char *path, TextIntTbl &tbl) throw (Overflow) |
int | Put (const FV2::T &path, TextIntTbl &tbl) throw (Overflow) |
FV2::T * | Get (int idx) const throw () |
bool | GetString (int idx, char *buff, int buff_len) const throw () |
int | MemorySize () const throw () |
void | Write (std::ostream &ofs) const throw (FS::Failure) |
void | Read (std::istream &ifs) throw (FS::EndOfFile, FS::Failure) |
void | Log (VestaLog &log) const throw (VestaLog::Error) |
void | Recover (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof) |
void | Send (SRPC &srpc) const throw (SRPC::failure) |
void | Recv (SRPC &srpc) throw (SRPC::failure) |
void | Print (std::ostream &os, int indent=0) const throw () |
Static Public Member Functions | |
static int | Skip (std::istream &ifs) throw (FS::EndOfFile, FS::Failure) |
Static Public Attributes | |
static const Basics::uint16 | endMarker = ~0 |
Private Member Functions | |
int | AddArc (const Text &arc) throw (Overflow) |
Private Attributes | |
Basics::uint16 | numArcs |
Basics::uint16 | maxArcs |
Basics::uint16 * | indexArray |
Text * | arcArray |
Classes | |
struct | Overflow |
|
Definition at line 54 of file PrefixTbl.H. |
|
Definition at line 41 of file PrefixTbl.C. References NEW_ARRAY, and NEW_PTRFREE_ARRAY. |
|
Definition at line 61 of file PrefixTbl.H. References Read(). |
|
Definition at line 53 of file PrefixTbl.C. References max(), NEW_ARRAY, and NEW_PTRFREE_ARRAY. |
|
Definition at line 67 of file PrefixTbl.H. References arcArray. Referenced by Lookup(), and LookupPath(). |
|
Definition at line 161 of file PrefixTbl.C. References Sequence< Elem, elem_ptrfree >::addlo(), endMarker, and NEW_CONSTR. Referenced by CallCache(), and PickleC::UnpickleDepPath(). |
|
Definition at line 174 of file PrefixTbl.C. References Text::cchars(), endMarker, Text::Length(), and NEW_PTRFREE_ARRAY. |
|
Definition at line 280 of file PrefixTbl.C. References TextIO::Log(). |
|
Definition at line 221 of file PrefixTbl.C. References arcArray, indexArray, Text::Length(), maxArcs, and numArcs. Referenced by VestaVal::T::Size(). |
|
Definition at line 70 of file PrefixTbl.H. References numArcs. Referenced by CFPObj::Search(), and Tags(). |
|
Definition at line 64 of file PrefixTbl.H. References indexArray. Referenced by Lookup(), and LookupPath(). |
|
Definition at line 348 of file PrefixTbl.C. References endMarker, and Indent(). Referenced by main(). |
|
Definition at line 130 of file PrefixTbl.C. References endMarker. |
|
Definition at line 90 of file PrefixTbl.C. References endMarker, and NEW_PTRFREE_ARRAY. Referenced by main(), and PickleC::PickleDepPath(). |
|
Definition at line 262 of file PrefixTbl.C. References NEW_ARRAY, NEW_PTRFREE_ARRAY, TextIO::Read(), and FS::Read(). Referenced by PrefixTbl(). |
|
Definition at line 292 of file PrefixTbl.C. References NEW_ARRAY, NEW_PTRFREE_ARRAY, and TextIO::Recover(). |
|
Definition at line 324 of file PrefixTbl.C. References NEW_ARRAY. |
|
Definition at line 312 of file PrefixTbl.C. |
|
Definition at line 234 of file PrefixTbl.C. References FS::Read(), and TextIO::Skip(). Referenced by VestaVal::T::ReadImmutable(). |
|
Definition at line 250 of file PrefixTbl.C. References TextIO::Write(), and FS::Write(). Referenced by main(). |
|
Definition at line 128 of file PrefixTbl.H. Referenced by Arc(), and MemorySize(). |
|
Definition at line 52 of file PrefixTbl.H. Referenced by Get(), GetString(), Lookup(), Print(), and Put(). |
|
Definition at line 127 of file PrefixTbl.H. Referenced by MemorySize(), and PrefixIndex(). |
|
Definition at line 126 of file PrefixTbl.H. Referenced by MemorySize(). |
|
Definition at line 125 of file PrefixTbl.H. Referenced by MemorySize(), and NumArcs(). |