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

CacheLog::Entry Class Reference

#include <CacheLog.H>

List of all members.

Public Member Functions

 Entry () throw ()
 Entry (const Text &sourceFunc, FP::Tag *pk, PKFile::Epoch pkEpoch, CacheEntry::Index ci, VestaVal::T *value, Model::T model, CacheEntry::Indices *kids, FV::List *names, FP::List *fps) throw ()
 Entry (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
void Init (const Text &sourceFunc, FP::Tag *pk, PKFile::Epoch pkEpoch, CacheEntry::Index ci, VestaVal::T *value, Model::T model, CacheEntry::Indices *kids, FV::List *names, FP::List *fps) throw ()
 ~Entry () throw ()
void Reset () 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 Debug (std::ostream &s, int indent=2) const throw ()
void DebugFull (std::ostream &s) const throw ()

Public Attributes

Entrynext
Text sourceFunc
FP::Tagpk
PKFile::Epoch pkEpoch
CacheEntry::Index ci
VestaVal::Tvalue
CacheEntry::Indiceskids
Model::T model
FV::Listnames
FP::Listfps

Private Member Functions

 Entry (const Entry &)


Constructor & Destructor Documentation

CacheLog::Entry::Entry  )  throw () [inline]
 

Definition at line 61 of file CacheLog.H.

CacheLog::Entry::Entry const Text sourceFunc,
FP::Tag pk,
PKFile::Epoch  pkEpoch,
CacheEntry::Index  ci,
VestaVal::T value,
Model::T  model,
CacheEntry::Indices kids,
FV::List names,
FP::List fps
throw () [inline]
 

Definition at line 65 of file CacheLog.H.

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

Definition at line 74 of file CacheLog.H.

References Recover().

CacheLog::Entry::~Entry  )  throw () [inline]
 

Definition at line 86 of file CacheLog.H.

References Reset().

CacheLog::Entry::Entry const Entry  )  [private]
 


Member Function Documentation

void CacheLog::Entry::Debug std::ostream &  s,
int  indent = 2
const throw ()
 

Definition at line 111 of file CacheLog.C.

References Indent().

Referenced by CacheS::FlushCacheLog(), PrintCacheLogEntries(), and CacheS::RecoverCacheLogEntries().

void CacheLog::Entry::DebugFull std::ostream &  s  )  const throw ()
 

Definition at line 118 of file CacheLog.C.

Referenced by PrintCacheLogEntries().

void CacheLog::Entry::Init const Text sourceFunc,
FP::Tag pk,
PKFile::Epoch  pkEpoch,
CacheEntry::Index  ci,
VestaVal::T value,
Model::T  model,
CacheEntry::Indices kids,
FV::List names,
FP::List fps
throw ()
 

Definition at line 37 of file CacheLog.C.

Referenced by CacheS::LogCacheEntry().

void CacheLog::Entry::Log VestaLog log  )  const throw (VestaLog::Error)
 

Definition at line 59 of file CacheLog.C.

References Model::Log(), and TextIO::Log().

Referenced by CacheS::FlushCacheLog().

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

Definition at line 75 of file CacheLog.C.

References NEW_CONSTR, Model::Recover(), and TextIO::Recover().

Referenced by Entry().

void CacheLog::Entry::Reset  )  throw () [inline]
 

Definition at line 87 of file CacheLog.H.

References fps, kids, names, pk, and value.

Referenced by CacheS::FlushCacheLog(), and ~Entry().

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

Definition at line 91 of file CacheLog.C.

References Model::Write(), FS::Write(), and TextIO::Write().

Referenced by CacheS::CleanCacheLogEntries().


Member Data Documentation

CacheEntry::Index CacheLog::Entry::ci
 

Definition at line 124 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries().

FP::List* CacheLog::Entry::fps
 

Definition at line 130 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries(), and Reset().

CacheEntry::Indices* CacheLog::Entry::kids
 

Definition at line 126 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries(), and Reset().

Model::T CacheLog::Entry::model
 

Definition at line 127 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries().

FV::List* CacheLog::Entry::names
 

Definition at line 129 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries(), and Reset().

Entry* CacheLog::Entry::next
 

Definition at line 119 of file CacheLog.H.

Referenced by CacheS::FlushCacheLog(), and CacheS::LogCacheEntry().

FP::Tag* CacheLog::Entry::pk
 

Definition at line 121 of file CacheLog.H.

Referenced by CacheS::CleanCacheLogEntries(), CacheS::RecoverCacheLogEntries(), and Reset().

PKFile::Epoch CacheLog::Entry::pkEpoch
 

Definition at line 122 of file CacheLog.H.

Referenced by CacheS::CleanCacheLogEntries(), and CacheS::RecoverCacheLogEntries().

Text CacheLog::Entry::sourceFunc
 

Definition at line 120 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries().

VestaVal::T* CacheLog::Entry::value
 

Definition at line 125 of file CacheLog.H.

Referenced by CacheS::RecoverCacheLogEntries(), and Reset().


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