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

GraphLog::Node Class Reference

#include <GraphLog.H>

Inheritance diagram for GraphLog::Node:

GraphLog::Entry List of all members.

Public Member Functions

 Node (CacheEntry::Index ci, FP::Tag *loc, Model::T model, CacheEntry::Indices *kids, Derived::Indices *refs) throw ()
 Node (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
 Node (std::istream &ifs) throw (FS::Failure, FS::EndOfFile)
void Init (CacheEntry::Index ci, FP::Tag *loc, Model::T model, CacheEntry::Indices *kids, Derived::Indices *refs) throw ()
 ~Node () 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 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

Nodenext
CacheEntry::Index ci
FP::Tagloc
Model::T model
CacheEntry::Indiceskids
Derived::Indicesrefs

Private Member Functions

 Node (const Node &)

Constructor & Destructor Documentation

GraphLog::Node::Node CacheEntry::Index  ci,
FP::Tag loc,
Model::T  model,
CacheEntry::Indices kids,
Derived::Indices refs
throw () [inline]
 

Definition at line 96 of file GraphLog.H.

References ci, Init(), kids, loc, model, and refs.

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

Definition at line 99 of file GraphLog.H.

References Recover().

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

Definition at line 101 of file GraphLog.H.

References Read().

GraphLog::Node::~Node  )  throw () [inline]
 

Definition at line 110 of file GraphLog.H.

References Reset().

GraphLog::Node::Node const Node  )  [private]
 


Member Function Documentation

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

Reimplemented from GraphLog::Entry.

Definition at line 171 of file GraphLog.C.

References GraphLog::Entry::Debug().

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

Reimplemented from GraphLog::Entry.

Definition at line 177 of file GraphLog.C.

References GraphLog::Entry::DebugFull().

void GraphLog::Node::Init CacheEntry::Index  ci,
FP::Tag loc,
Model::T  model,
CacheEntry::Indices kids,
Derived::Indices refs
throw ()
 

Definition at line 119 of file GraphLog.C.

Referenced by CacheS::LogGraphNode(), and Node().

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

Reimplemented from GraphLog::Entry.

Definition at line 130 of file GraphLog.C.

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

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

Reimplemented from GraphLog::Entry.

Definition at line 161 of file GraphLog.C.

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

Referenced by Node().

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

Reimplemented from GraphLog::Entry.

Definition at line 141 of file GraphLog.C.

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

Referenced by Node().

void GraphLog::Node::Reset  )  throw () [inline]
 

Definition at line 111 of file GraphLog.H.

References kids, loc, and refs.

Referenced by ~Node().

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

Reimplemented from GraphLog::Entry.

Definition at line 151 of file GraphLog.C.

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

Referenced by Weeder::PruneGraphLog().


Member Data Documentation

CacheEntry::Index GraphLog::Node::ci
 

Definition at line 89 of file GraphLog.H.

Referenced by Node(), Weeder::PruneGraphLog(), and Weeder::WeededPrefixes().

CacheEntry::Indices* GraphLog::Node::kids
 

Definition at line 92 of file GraphLog.H.

Referenced by Node(), and Reset().

FP::Tag* GraphLog::Node::loc
 

Definition at line 90 of file GraphLog.H.

Referenced by Node(), Reset(), and Weeder::WeededPrefixes().

Model::T GraphLog::Node::model
 

Definition at line 91 of file GraphLog.H.

Referenced by Node().

Node* GraphLog::Node::next
 

Definition at line 88 of file GraphLog.H.

Referenced by CacheS::FlushGraphLog(), and CacheS::LogGraphNode().

Derived::Indices* GraphLog::Node::refs
 

Definition at line 93 of file GraphLog.H.

Referenced by Node(), and Reset().


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