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

PKPrefix::T Class Reference

#include <PKPrefix.H>

List of all members.

Public Member Functions

 T () throw ()
 T (const FP::Tag &fp) throw ()
 T (const FP::Tag &fp, int gran) throw ()
Text Pathname (int sigBits, int arcBits) const throw ()
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 ()

Private Member Functions

void Init (int gran) throw ()

Private Attributes

Word w

Friends

std::ostream & operator<< (std::ostream &os, const T &pfx) throw ()
bool operator== (const T &pfx1, const T &pfx2) throw ()
bool operator!= (const T &pfx1, const T &pfx2) throw ()


Constructor & Destructor Documentation

PKPrefix::T::T  )  throw () [inline]
 

Definition at line 39 of file PKPrefix.H.

PKPrefix::T::T const FP::Tag fp  )  throw () [inline]
 

Definition at line 42 of file PKPrefix.H.

References PKPrefix::Granularity(), Init(), and w.

PKPrefix::T::T const FP::Tag fp,
int  gran
throw () [inline]
 

Definition at line 46 of file PKPrefix.H.

References Init(), and w.


Member Function Documentation

Word PKPrefix::T::Hash  )  const throw () [inline]
 

Definition at line 80 of file PKPrefix.H.

void PKPrefix::T::Init int  gran  )  throw () [private]
 

Definition at line 57 of file PKPrefix.C.

Referenced by T().

Text PKPrefix::T::Pathname int  sigBits,
int  arcBits
const throw ()
 

Definition at line 69 of file PKPrefix.C.

References min().

Referenced by main().

void PKPrefix::T::Read std::istream &  ifs  )  throw (FS::EndOfFile, FS::Failure) [inline]
 

Definition at line 61 of file PKPrefix.H.

References FS::Read().

void PKPrefix::T::Recv SRPC srpc  )  throw (SRPC::failure) [inline]
 

Definition at line 69 of file PKPrefix.H.

References w.

void PKPrefix::T::Send SRPC srpc  )  const throw (SRPC::failure) [inline]
 

Definition at line 67 of file PKPrefix.H.

void PKPrefix::T::Write std::ostream &  ofs  )  const throw (FS::Failure) [inline]
 

Definition at line 59 of file PKPrefix.H.

References FS::Write().


Friends And Related Function Documentation

bool operator!= const T pfx1,
const T pfx2
throw () [friend]
 

Definition at line 76 of file PKPrefix.H.

std::ostream& operator<< std::ostream &  os,
const T pfx
throw () [friend]
 

bool operator== const T pfx1,
const T pfx2
throw () [friend]
 

Definition at line 74 of file PKPrefix.H.


Member Data Documentation

Word PKPrefix::T::w [private]
 

Definition at line 80 of file PKPrefix.H.

Referenced by Recv(), and T().


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