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

VestaVal::T Class Reference

#include <VestaVal.H>

List of all members.

Public Member Functions

 T () throw ()
 T (char *bytebuff, int len=-1) throw ()
 T (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
 T (std::istream &ifs) throw (FS::EndOfFile, FS::Failure)
 T (SRPC &srpc) throw (SRPC::failure)
int Size () 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 Send (SRPC &srpc) const throw (SRPC::failure)
void Recv (SRPC &srpc) throw (SRPC::failure)
void Print (std::ostream &os, int indent) const throw ()

Static Public Member Functions

static ImmutableValReadImmutable (std::istream &ifs) throw (FS::EndOfFile, FS::Failure)

Public Attributes

FP::Tag fp
Derived::Indices dis
PrefixTbl prefixTbl
Basics::int32 len
char * bytes

Private Member Functions

 T (const T &)


Constructor & Destructor Documentation

VestaVal::T::T  )  throw () [inline]
 

Definition at line 58 of file VestaVal.H.

VestaVal::T::T char *  bytebuff,
int  len = -1
throw ()
 

Definition at line 44 of file VestaVal.C.

References NEW_PTRFREE_ARRAY.

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

Definition at line 61 of file VestaVal.H.

References Recover().

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

Definition at line 63 of file VestaVal.H.

References Read().

VestaVal::T::T SRPC srpc  )  throw (SRPC::failure) [inline]
 

Definition at line 65 of file VestaVal.H.

References Recv().

VestaVal::T::T const T  )  [private]
 


Member Function Documentation

void VestaVal::T::Log VestaLog log  )  const throw (VestaLog::Error)
 

Definition at line 53 of file VestaVal.C.

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

Definition at line 148 of file VestaVal.C.

References Indent(), and min().

Referenced by ExpCache::AddEntry(), and ExpCache::Lookup().

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

Definition at line 92 of file VestaVal.C.

References NEW_PTRFREE_ARRAY, and FS::Read().

Referenced by T().

ImmutableVal * VestaVal::T::ReadImmutable std::istream &  ifs  )  throw (FS::EndOfFile, FS::Failure) [static]
 

Definition at line 107 of file VestaVal.C.

References FP::ByteCnt, NEW_CONSTR, FS::Posn(), FS::Read(), FS::Seek(), PrefixTbl::Skip(), and Derived::Indices::Skip().

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

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

Definition at line 65 of file VestaVal.C.

References NEW_PTRFREE_ARRAY.

Referenced by T().

void VestaVal::T::Recv SRPC srpc  )  throw (SRPC::failure)
 

Definition at line 140 of file VestaVal.C.

Referenced by T().

void VestaVal::T::Send SRPC srpc  )  const throw (SRPC::failure)
 

Definition at line 132 of file VestaVal.C.

Referenced by ExpCache::Lookup().

int VestaVal::T::Size  )  const throw () [inline]
 

Definition at line 69 of file VestaVal.H.

References bytes, dis, fp, len, PrefixTbl::MemorySize(), prefixTbl, and Derived::Indices::Size().

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

Definition at line 80 of file VestaVal.C.

References FS::Write().


Member Data Documentation

char* VestaVal::T::bytes
 

Definition at line 55 of file VestaVal.H.

Referenced by Pickle(), and Size().

Derived::Indices VestaVal::T::dis
 

Definition at line 52 of file VestaVal.H.

Referenced by Pickle(), CFPObj::Search(), and Size().

FP::Tag VestaVal::T::fp
 

Definition at line 51 of file VestaVal.H.

Referenced by Pickle(), and Size().

Basics::int32 VestaVal::T::len
 

Definition at line 54 of file VestaVal.H.

Referenced by Pickle(), CacheS::RecoverCacheLogEntries(), CFPObj::Search(), and Size().

PrefixTbl VestaVal::T::prefixTbl
 

Definition at line 53 of file VestaVal.H.

Referenced by Pickle(), CFPObj::Search(), and Size().


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