#include <FP.H>
Inheritance diagram for FP::Tag:
Public Member Functions | |
Tag () throw () | |
Tag (const char *s, int len=-1) throw () | |
Tag (const Text &t) throw () | |
Tag (RecoveryReader &rd) throw (VestaLog::Error, VestaLog::Eof) | |
Tag (std::istream &ifs) throw (FS::Failure, FS::EndOfFile) | |
Tag (SRPC &srpc) throw (SRPC::failure) | |
Tag & | Extend (const char *s, int len=-1) throw () |
Tag & | Extend (const Text &t) throw () |
Tag & | Extend (const Tag &tag) throw () |
Tag & | Extend (char c) throw () |
void | Unpermute (RawFP &fp) const throw () |
void | Permute (const RawFP &f) 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) |
Word | Hash () const throw () |
void | Print (std::ostream &os, const char *word_separator=" ") const throw () |
bool | operator== (const Tag &other) const throw () |
bool | operator!= (const Tag &other) const throw () |
friend | int::Compare (const Tag &fp1, const Tag &fp2) throw () |
int | Size () const throw () |
void | ToBytes (unsigned char *buffer) const throw () |
void | FromBytes (const unsigned char *buffer) throw () |
Word * | Words () throw () |
Word | Word0 () const throw () |
Word | Word1 () const throw () |
Static Public Member Functions | |
static void | ExtendRaw (RawFP &fp, const char *s, int len=-1) throw () |
static void | ExtendRaw (RawFP &fp, const Text &t) throw () |
static void | ExtendRaw (RawFP &fp, const Tag &tag) throw () |
static void | ExtendRaw (RawFP &fp, char c) throw () |
Protected Attributes | |
Word | w [WordCnt] |
Private Member Functions | |
void | Init (const char *s, int len) throw () |
|
|
|
Definition at line 94 of file FP.H. References Init(). |
|
Definition at line 101 of file FP.H. References Init(). |
|
Definition at line 104 of file FP.H. References Recover(). |
|
Definition at line 107 of file FP.H. References Read(). |
|
Definition at line 110 of file FP.H. References Recv(). |
|
|
|
Definition at line 124 of file FP.H. References FP::ByteCnt, Extend(), and sizeof_assert. |
|
Definition at line 120 of file FP.H. References Extend(). |
|
|
|
|
Definition at line 145 of file FP.H. References FP::ByteCnt, ExtendRaw(), and sizeof_assert. |
|
Definition at line 143 of file FP.H. References ExtendRaw(). |
|
Referenced by DepPath::DepPathC::DepPathC(), DepPath::Extend(), DepPath::ExtendLow(), ExtendRaw(), BindingVC::FingerPrint(), ListVC::FingerPrint(), FingerPrintContext(), and main(). |
|
Referenced by InsertFileStep::InsertFileStep(), InsertImmutableDirectoryStep::InsertImmutableDirectoryStep(), main(), Read(), Recover(), and Recv(). |
|
Referenced by FPShortIdTable::Get(), PkgBuild::Hash(), DepPath::Hash(), and FPShortIdTable::Set(). |
|
Referenced by Tag(), and Combine::XorFPTag::XorFPTag(). |
|
|
|
Definition at line 172 of file FP.H. References FP::ByteCnt, and ToBytes(). Referenced by Combine::XorFPTag::Log(). |
|
|
|
|
|
Referenced by DepPath::DepPathC::DepPathC(), DepPath::Extend(), DepPath::ExtendLow(), BindingVC::FingerPrint(), ListVC::FingerPrint(), FingerPrintContext(), and main(). |
|
|
|
Definition at line 198 of file FP.H. References FP::ByteCnt, FromBytes(), and FS::Read(). Referenced by Combine::XorFPTag::Read(), PickleDepPathSize(), PickleDPathsSize(), PickleValDpndSize(), Tag(), and PickleC::UnpickleVal(). |
|
Definition at line 181 of file FP.H. References FP::ByteCnt, and FromBytes(). Referenced by Combine::XorFPTag::Recover(), Tag(), and Combine::XorFPTag::XorFPTag(). |
|
Definition at line 215 of file FP.H. References FP::ByteCnt, and FromBytes(). Referenced by VDirSurrogate::insertAppendableDirectory(), VDirSurrogate::insertFile(), VDirSurrogate::insertGhost(), VDirSurrogate::insertImmutableDirectory(), VDirSurrogate::insertMutableDirectory(), VDirSurrogate::insertMutableFile(), VDirSurrogate::insertStub(), VDirEvaluator::lookup(), VDirSurrogate::lookupIndex(), and Tag(). |
|
Definition at line 208 of file FP.H. References FP::ByteCnt, sizeof_assert, and ToBytes(). Referenced by VDirSurrogate::fpToShortId(), ExpCache::GetCacheInstance(), Info(), VDirSurrogate::insertFile(), and VDirSurrogate::insertImmutableDirectory(). |
|
Definition at line 241 of file FP.H. References FP::ByteCnt. |
|
Referenced by do_remove(), Log(), main(), Send(), and Write(). |
|
Referenced by DepPath::Extend(), BindingVC::FingerPrint(), ListVC::FingerPrint(), and main(). |
|
Definition at line 251 of file FP.H. References w. Referenced by Replicate(). |
|
Definition at line 252 of file FP.H. References w. Referenced by Replicate(). |
|
Definition at line 250 of file FP.H. References w. Referenced by AcquireMastership(), cinFPTag(), coutFPTag(), VDirChangeable::efptag(), VDirChangeable::fptag(), VDirChangeable::getBase(), and GetFPTag(). |
|
Definition at line 192 of file FP.H. References FP::ByteCnt, ToBytes(), and FS::Write(). Referenced by Combine::XorFPTag::Write(), and SPKFile::Write(). |
|
Definition at line 257 of file FP.H. Referenced by FP::Tag::Hash(), Word0(), Word1(), and Words(). |