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

VestaAttribsRep Class Reference

#include <VestaAttribsRep.H>

List of all members.

Public Member Functions

bool visited () throw ()
void setVisited (bool newval) throw ()
VestaSource::attribOp op () throw ()
void setOp (VestaSource::attribOp op) throw ()
Bit32 next () throw ()
void setNext (Bit32 newval) throw ()
time_t timestamp () throw ()
const char * name () throw ()
const char * value (int namelen) throw ()
const char * value () throw ()
void mark () throw ()
Bit32 checkpoint (Bit32 &nextSP, std::fstream &ckpt) throw ()

Static Public Member Functions

static VestaAttribsRepcreate (VestaSource::attribOp op, const char *name, const char *value, time_t timestamp) throw ()
static void markCallback (void *closure, VMemPool::typeCode type) throw ()
static bool sweepCallback (void *closure, VMemPool::typeCode type, void *addr, Bit32 &size) throw ()
static void rebuildCallback (void *closure, VMemPool::typeCode type, void *addr, Bit32 &size) throw ()

Public Attributes

Bit8 rep [VATTR_MINSIZE]


Member Function Documentation

Bit32 VestaAttribsRep::checkpoint Bit32 nextSP,
std::fstream &  ckpt
throw ()
 

Definition at line 604 of file VestaAttribs.C.

References VMemPool::alignmentMask, DBG_ALWAYS, Repos::dprintf(), VMemPool::freeByte, VMemPool::lengthenPointer(), VMemPool::type(), VATTR_MINSIZE, and VMemPool::vAttrib.

Referenced by VDirChangeable::checkpoint(), and VMemPool::writeCheckpoint().

VestaAttribsRep * VestaAttribsRep::create VestaSource::attribOp  op,
const char *  name,
const char *  value,
time_t  timestamp
throw () [static]
 

Definition at line 59 of file VestaAttribs.C.

References VMemPool::allocate(), rep, setNext(), setOp(), VATTR_MINSIZE, VATTR_NAME, VATTR_TIMESTAMP, and VMemPool::vAttrib.

Referenced by VestaAttribs::copyAttribs(), and VestaAttribs::writeAttrib().

void VestaAttribsRep::mark  )  throw ()
 

Definition at line 550 of file VestaAttribs.C.

References VMemPool::lengthenPointer(), VMemPool::type(), and VMemPool::vAttrib.

Referenced by VDirChangeable::mark(), and markCallback().

void VestaAttribsRep::markCallback void *  closure,
VMemPool::typeCode  type
throw () [static]
 

Definition at line 562 of file VestaAttribs.C.

References VMemPool::lengthenPointer(), mark(), VestaSource::mutableRoot(), VestaSource::repositoryRoot(), and VestaSource::volatileRoot().

Referenced by InitVRWeed().

const char* VestaAttribsRep::name  )  throw () [inline]
 

Definition at line 74 of file VestaAttribsRep.H.

References VATTR_NAME.

Referenced by rebuildCallback(), sweepCallback(), and value().

Bit32 VestaAttribsRep::next  )  throw () [inline]
 

Definition at line 67 of file VestaAttribsRep.H.

References VATTR_NEXT.

Referenced by VestaAttribs::copyAttribs(), and VestaAttribs::writeAttrib().

VestaSource::attribOp VestaAttribsRep::op  )  throw () [inline]
 

Definition at line 63 of file VestaAttribsRep.H.

References VATTR_FLAGS.

Referenced by setOp().

void VestaAttribsRep::rebuildCallback void *  closure,
VMemPool::typeCode  type,
void *  addr,
Bit32 size
throw () [static]
 

Definition at line 594 of file VestaAttribs.C.

References name(), value(), and VATTR_MINSIZE.

Referenced by InitVRWeed().

void VestaAttribsRep::setNext Bit32  newval  )  throw () [inline]
 

Definition at line 69 of file VestaAttribsRep.H.

References VATTR_NEXT.

Referenced by VestaAttribs::copyAttribs(), create(), and VestaAttribs::writeAttrib().

void VestaAttribsRep::setOp VestaSource::attribOp  op  )  throw () [inline]
 

Definition at line 65 of file VestaAttribsRep.H.

References op(), and VATTR_FLAGS.

Referenced by create().

void VestaAttribsRep::setVisited bool  newval  )  throw () [inline]
 

Definition at line 61 of file VestaAttribsRep.H.

Referenced by sweepCallback().

bool VestaAttribsRep::sweepCallback void *  closure,
VMemPool::typeCode  type,
void *  addr,
Bit32 size
throw () [static]
 

Definition at line 582 of file VestaAttribs.C.

References name(), setVisited(), value(), VATTR_MINSIZE, and visited().

Referenced by InitVRWeed().

time_t VestaAttribsRep::timestamp  )  throw () [inline]
 

Definition at line 71 of file VestaAttribsRep.H.

References VATTR_TIMESTAMP.

const char* VestaAttribsRep::value  )  throw () [inline]
 

Definition at line 78 of file VestaAttribsRep.H.

References name(), and VATTR_NAME.

const char* VestaAttribsRep::value int  namelen  )  throw () [inline]
 

Definition at line 76 of file VestaAttribsRep.H.

References VATTR_NAME.

Referenced by rebuildCallback(), and sweepCallback().

bool VestaAttribsRep::visited  )  throw () [inline]
 

Definition at line 59 of file VestaAttribsRep.H.

Referenced by sweepCallback().


Member Data Documentation

Bit8 VestaAttribsRep::rep[VATTR_MINSIZE]
 

Definition at line 58 of file VestaAttribsRep.H.

Referenced by create().


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