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

GraphLog::Root Class Reference

#include <GraphLog.H>

Inheritance diagram for GraphLog::Root:

GraphLog::Entry List of all members.

Public Member Functions

 Root (const FP::Tag &pkgVersion, Model::T model, CacheEntry::Indices *cis, bool done) throw ()
 Root (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
 Root (std::istream &ifs) throw (FS::Failure, FS::EndOfFile)
void Init (const FP::Tag &pkgVersion, Model::T model, CacheEntry::Indices *cis, bool done) throw ()
void DeleteContents () 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::Failure, FS::EndOfFile)
void Debug (std::ostream &os) const throw ()
void DebugFull (std::ostream &os) const throw ()

Public Attributes

FP::Tag pkgVersion
Model::T model
time_t ts
CacheEntry::Indicescis
bool done

Private Member Functions

 Root (const Root &)

Constructor & Destructor Documentation

GraphLog::Root::Root const FP::Tag pkgVersion,
Model::T  model,
CacheEntry::Indices cis,
bool  done
throw () [inline]
 

Definition at line 146 of file GraphLog.H.

References cis, done, Init(), model, and pkgVersion.

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

Definition at line 149 of file GraphLog.H.

References Recover().

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

Definition at line 151 of file GraphLog.H.

References Read().

GraphLog::Root::Root const Root  )  [private]
 


Member Function Documentation

void GraphLog::Root::Debug std::ostream &  os  )  const throw () [virtual]
 

Reimplemented from GraphLog::Entry.

Definition at line 274 of file GraphLog.C.

References GraphLog::Entry::Debug().

Referenced by CacheS::DoCheckpoint().

void GraphLog::Root::DebugFull std::ostream &  os  )  const throw () [virtual]
 

Reimplemented from GraphLog::Entry.

Definition at line 283 of file GraphLog.C.

References BoolName, and GraphLog::Entry::DebugFull().

Referenced by CacheS::DoCheckpoint().

void GraphLog::Root::DeleteContents  )  throw () [inline]
 

Definition at line 160 of file GraphLog.H.

References cis.

void GraphLog::Root::Init const FP::Tag pkgVersion,
Model::T  model,
CacheEntry::Indices cis,
bool  done
throw ()
 

Definition at line 189 of file GraphLog.C.

Referenced by Root().

void GraphLog::Root::Log VestaLog log  )  const throw (VestaLog::Error) [virtual]
 

Reimplemented from GraphLog::Entry.

Definition at line 199 of file GraphLog.C.

References Model::Log(), GraphLog::Entry::Log(), and sizeof_assert.

Referenced by CacheS::DoCheckpoint().

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

Reimplemented from GraphLog::Entry.

Definition at line 255 of file GraphLog.C.

References NEW_CONSTR, FS::Read(), Model::Read(), and sizeof_assert.

Referenced by Root().

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

Reimplemented from GraphLog::Entry.

Definition at line 219 of file GraphLog.C.

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

Referenced by Root().

void GraphLog::Root::Write std::ostream &  ofs  )  const throw (FS::Failure) [virtual]
 

Reimplemented from GraphLog::Entry.

Definition at line 238 of file GraphLog.C.

References sizeof_assert, FS::Write(), Model::Write(), and GraphLog::Entry::Write().

Referenced by Weeder::PruneGraphLog().


Member Data Documentation

CacheEntry::Indices* GraphLog::Root::cis
 

Definition at line 142 of file GraphLog.H.

Referenced by Weeder::CopyGLtoPending(), DeleteContents(), Weeder::PruneGraphLog(), and Root().

bool GraphLog::Root::done
 

Definition at line 143 of file GraphLog.H.

Referenced by Weeder::PruneGraphLog(), and Root().

Model::T GraphLog::Root::model
 

Definition at line 140 of file GraphLog.H.

Referenced by Weeder::CopyGLtoPending(), Weeder::PruneGraphLog(), and Root().

FP::Tag GraphLog::Root::pkgVersion
 

Definition at line 139 of file GraphLog.H.

Referenced by Weeder::CopyGLtoPending(), Weeder::PruneGraphLog(), and Root().

time_t GraphLog::Root::ts
 

Definition at line 141 of file GraphLog.H.

Referenced by Weeder::CopyGLtoPending(), and Weeder::PruneGraphLog().


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