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

CE::T Class Reference

#include <CacheEntry.H>

List of all members.

Public Member Functions

 T (CacheEntry::Index ci, BitVector *uncommonNames, FP::List *fps, IntIntTblLR *imap, VestaVal::T *value, CacheEntry::Indices *kids, Model::T model) throw ()
 T (const T *ce) throw ()
 T (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
 throw (FS::EndOfFile, FS::Failure)
FP::TagCombineFP (const BitVector &bv) const throw ()
bool FPMatch (const FP::List &pkFPs) throw ()
void Pack (const BitVector *packMask, const IntIntTblLR *reMap) throw ()
void CycleNames (const BitVector &delBV, const IntIntTblLR &delMap) throw ()
void Update (const BitVector *exCommonNames, const BitVector *exUncommonNames, const BitVector *packMask, const IntIntTblLR *reMap) throw ()
void XorUncommonNames (const BitVector &mask) throw ()
void UnlazyUncommonFP () throw ()
bool UncommonFPIsUnlazied () throw ()
bool CheckUsedNames (const BitVector *commonNames, unsigned int &missing) const throw ()
const BitVectorUncommonNames () const throw ()
CacheEntry::Index CI () const throw ()
const VestaVal::TValue () const throw ()
const CacheEntry::IndicesKids () const throw ()
const IntIntTblLRIMap () const throw ()
const FP::ListFPs () const throw ()
void Log (VestaLog &log) const throw (VestaLog::Error)
void Recover (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof)
void Write (std::ostream &ofs, std::ifstream *ifs=NULL) const throw (FS::Failure)
void Read (std::istream &ifs, bool readImmutable=true) throw (FS::EndOfFile, FS::Failure)
void WriteExtras (std::ostream &ofs) const throw (FS::Failure)
void ReadExtras (std::istream &ifs) throw (FS::EndOfFile, FS::Failure)
void Debug (std::ostream &os, int indent=0) const throw ()
void DebugExtras (std::ostream &os, int indent=0) const throw ()

Static Public Member Functions

static bool CheckUsedNames (const BitVector *commonNames, const BitVector *uncommonNames, const IntIntTblLR *imap, const FP::List *fps, unsigned int &missing) throw ()

Private Member Functions

 T (const T &)

Private Attributes

CacheEntry::Index ci
Model::T model
BitVectoruncommonNames
Combine::XorFPTag uncommonTag
VestaVal::Tvalue
CacheEntry::Indiceskids
IntIntTblLRimap
FP::Listfps


Constructor & Destructor Documentation

CE::T::T CacheEntry::Index  ci,
BitVector uncommonNames,
FP::List fps,
IntIntTblLR imap,
VestaVal::T value,
CacheEntry::Indices kids,
Model::T  model
throw ()
 

CE::T::T const T ce  )  throw ()
 

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

Definition at line 82 of file CacheEntry.H.

References Recover().

CE::T::T const T  )  [private]
 


Member Function Documentation

bool CE::T::CheckUsedNames const BitVector commonNames,
unsigned int &  missing
const throw () [inline]
 

Definition at line 187 of file CacheEntry.H.

References CheckUsedNames().

static bool CE::T::CheckUsedNames const BitVector commonNames,
const BitVector uncommonNames,
const IntIntTblLR imap,
const FP::List fps,
unsigned int &  missing
throw () [static]
 

Referenced by CheckUsedNames().

CacheEntry::Index CE::T::CI  )  const throw () [inline]
 

Definition at line 213 of file CacheEntry.H.

Referenced by VPKFile::CopyByCIs(), VPKFile::Lookup(), SPKFile::ScanList(), CFPObj::Search(), and SPKFile::UpdateList().

FP::Tag* CE::T::CombineFP const BitVector bv  )  const throw () [inline]
 

Definition at line 98 of file CacheEntry.H.

References NEW_PTRFREE_CONSTR.

Referenced by SPKFile::UpdateList().

void CE::T::CycleNames const BitVector delBV,
const IntIntTblLR delMap
throw ()
 

Referenced by VPKFile::CycleDeletedNamesInList().

void CE::T::Debug std::ostream &  os,
int  indent = 0
const throw ()
 

void CE::T::DebugExtras std::ostream &  os,
int  indent = 0
const throw ()
 

bool CE::T::FPMatch const FP::List pkFPs  )  throw ()
 

Referenced by SPKFile::LookupEntryV1(), and VPKFile::LookupInList().

const FP::List* CE::T::FPs  )  const throw () [inline]
 

Definition at line 218 of file CacheEntry.H.

Referenced by CFPObj::Search().

const IntIntTblLR* CE::T::IMap  )  const throw () [inline]
 

Definition at line 216 of file CacheEntry.H.

Referenced by CFPObj::Search().

const CacheEntry::Indices* CE::T::Kids  )  const throw () [inline]
 

Definition at line 215 of file CacheEntry.H.

Referenced by CFPObj::Search().

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

void CE::T::Pack const BitVector packMask,
const IntIntTblLR reMap
throw ()
 

Referenced by VPKFile::UpdateUncommonList().

void CE::T::Read std::istream &  ifs,
bool  readImmutable = true
throw (FS::EndOfFile, FS::Failure)
 

Referenced by throw().

void CE::T::ReadExtras std::istream &  ifs  )  throw (FS::EndOfFile, FS::Failure)
 

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

Referenced by T().

CE::T::throw FS::EndOfFile  ,
FS::Failure 
[inline]
 

Definition at line 89 of file CacheEntry.H.

References Read().

bool CE::T::UncommonFPIsUnlazied  )  throw () [inline]
 

Definition at line 177 of file CacheEntry.H.

References Combine::XorFPTag::FPValIsUnlazied(), BitVector::Size(), and uncommonTag.

Referenced by SPKFile::LookupEntryV1().

const BitVector* CE::T::UncommonNames  )  const throw () [inline]
 

Definition at line 210 of file CacheEntry.H.

Referenced by VPKFile::CycleDeletedNamesInList(), SPKFile::ScanList(), CFPObj::Search(), and VPKFile::UpdateUncommonList().

void CE::T::UnlazyUncommonFP  )  throw () [inline]
 

Definition at line 172 of file CacheEntry.H.

References uncommonTag, and Combine::XorFPTag::UnlazyFPVal().

Referenced by SPKFile::UpdateList(), and VPKFile::UpdateUncommonList().

void CE::T::Update const BitVector exCommonNames,
const BitVector exUncommonNames,
const BitVector packMask,
const IntIntTblLR reMap
throw ()
 

Referenced by SPKFile::UpdateList().

const VestaVal::T* CE::T::Value  )  const throw () [inline]
 

Definition at line 214 of file CacheEntry.H.

Referenced by CacheS::AddEntry(), VPKFile::CopyByCIs(), VPKFile::Lookup(), and CFPObj::Search().

void CE::T::Write std::ostream &  ofs,
std::ifstream *  ifs = NULL
const throw (FS::Failure)
 

void CE::T::WriteExtras std::ostream &  ofs  )  const throw (FS::Failure)
 

void CE::T::XorUncommonNames const BitVector mask  )  throw ()
 

Referenced by VPKFile::MoveCommonListToUncommon(), and VPKFile::UpdateUncommonList().


Member Data Documentation

CacheEntry::Index CE::T::ci [private]
 

Definition at line 265 of file CacheEntry.H.

FP::List* CE::T::fps [private]
 

Definition at line 274 of file CacheEntry.H.

IntIntTblLR* CE::T::imap [private]
 

Definition at line 273 of file CacheEntry.H.

CacheEntry::Indices* CE::T::kids [private]
 

Definition at line 270 of file CacheEntry.H.

Model::T CE::T::model [private]
 

Definition at line 266 of file CacheEntry.H.

BitVector* CE::T::uncommonNames [private]
 

Definition at line 267 of file CacheEntry.H.

Combine::XorFPTag CE::T::uncommonTag [private]
 

Definition at line 268 of file CacheEntry.H.

Referenced by UncommonFPIsUnlazied(), and UnlazyUncommonFP().

VestaVal::T* CE::T::value [private]
 

Definition at line 269 of file CacheEntry.H.


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