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

VLeaf Class Reference

#include <VLeaf.H>

Inheritance diagram for VLeaf:

VestaSource VestaAttribs VRErrorCode List of all members.

Public Member Functions

VestaSource::errorCode read (void *buffer, int *nbytes, Basics::uint64 offset, AccessControl::Identity who) throw ()
bool executable () throw ()
Basics::uint64 size () throw ()
time_t timestamp () throw ()
VestaSource::errorCode write (const void *buffer, int *nbytes, Basics::uint64 offset, AccessControl::Identity who) throw ()
VestaSource::errorCode setExecutable (bool x, AccessControl::Identity who) throw ()
VestaSource::errorCode setSize (Basics::uint64 s, AccessControl::Identity who) throw ()
VestaSource::errorCode setTimestamp (time_t ts, AccessControl::Identity who) throw ()
ShortId shortId () throw ()
 VLeaf (VestaSource::typeTag type, ShortId shortId, unsigned int links=1) throw ()
unsigned int linkCount ()

Private Attributes

ShortId shortId_
unsigned int link_count

Constructor & Destructor Documentation

VLeaf::VLeaf VestaSource::typeTag  type,
ShortId  shortId,
unsigned int  links = 1
throw () [inline]
 

Definition at line 61 of file VLeaf.H.

References VestaAttribs::attribs, link_count, shortId_, and VestaSource::type.


Member Function Documentation

bool VLeaf::executable  )  throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 90 of file VLeaf.C.

References FdCache::any, VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VestaSource::mutableDirectory, VestaSource::mutableFile, FdCache::open(), VestaSource::outdated, shortId(), VestaSource::stub, VestaSource::type, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory.

unsigned int VLeaf::linkCount  )  [inline, virtual]
 

Reimplemented from VestaSource.

Definition at line 68 of file VLeaf.H.

References link_count.

VestaSource::errorCode VLeaf::read void *  buffer,
int *  nbytes,
Basics::uint64  offset,
AccessControl::Identity  who
throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 44 of file VLeaf.C.

References FdCache::any, VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, Repos::errno_to_errorCode(), VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VRErrorCode::invalidArgs, VRErrorCode::isADirectory, VestaSource::mutableDirectory, VestaSource::mutableFile, VRErrorCode::noPermission, VRErrorCode::ok, FdCache::open(), VestaSource::outdated, AccessControl::read, shortId, VestaSource::stub, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory.

VestaSource::errorCode VLeaf::setExecutable bool  x,
AccessControl::Identity  who
throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 218 of file VLeaf.C.

References FdCache::any, VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, Repos::errno_to_errorCode(), VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VRErrorCode::inappropriateOp, VRErrorCode::invalidArgs, VRErrorCode::isADirectory, VestaSource::mutableDirectory, VestaSource::mutableFile, VRErrorCode::noPermission, VRErrorCode::ok, FdCache::open(), VestaSource::outdated, AccessControl::ownership, shortId, VestaSource::stub, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory.

VestaSource::errorCode VLeaf::setSize Basics::uint64  s,
AccessControl::Identity  who
throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 264 of file VLeaf.C.

References VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, Repos::errno_to_errorCode(), VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VRErrorCode::inappropriateOp, VRErrorCode::invalidArgs, VRErrorCode::isADirectory, VestaSource::mutableDirectory, VestaSource::mutableFile, VRErrorCode::noPermission, VRErrorCode::ok, FdCache::open(), VestaSource::outdated, FdCache::rw, shortId, VestaSource::stub, VestaSource::volatileDirectory, VestaSource::volatileROEDirectory, and AccessControl::write.

VestaSource::errorCode VLeaf::setTimestamp time_t  ts,
AccessControl::Identity  who
throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 348 of file VLeaf.C.

References VestaSource::appendableDirectory, VestaSource::deleted, VestaSource::device, Repos::errno_to_errorCode(), VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VRErrorCode::inappropriateOp, VRErrorCode::invalidArgs, VRErrorCode::isADirectory, VestaSource::mutableDirectory, VestaSource::mutableFile, VRErrorCode::noPermission, VestaSource::outdated, AccessControl::ownership, shortId, ShortIdBlock::shortIdToName(), VestaSource::stub, VestaSource::volatileDirectory, VestaSource::volatileROEDirectory, and AccessControl::write.

ShortId VLeaf::shortId  )  throw () [inline, virtual]
 

Reimplemented from VestaSource.

Definition at line 60 of file VLeaf.H.

References shortId_.

Referenced by executable(), size(), and timestamp().

Basics::uint64 VLeaf::size  )  throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 131 of file VLeaf.C.

References FdCache::any, VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VestaSource::mutableDirectory, VestaSource::mutableFile, FdCache::open(), VestaSource::outdated, shortId(), VestaSource::stub, VestaSource::type, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory.

time_t VLeaf::timestamp  )  throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 306 of file VLeaf.C.

References FdCache::any, VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VestaSource::mutableDirectory, VestaSource::mutableFile, FdCache::open(), VestaSource::outdated, shortId(), VestaSource::stub, VestaSource::type, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory.

VestaSource::errorCode VLeaf::write const void *  buffer,
int *  nbytes,
Basics::uint64  offset,
AccessControl::Identity  who
throw () [virtual]
 

Reimplemented from VestaSource.

Definition at line 172 of file VLeaf.C.

References VestaSource::appendableDirectory, FdCache::close(), VestaSource::deleted, VestaSource::device, Repos::errno_to_errorCode(), VestaSource::evaluatorDirectory, VestaSource::evaluatorROEDirectory, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VRErrorCode::inappropriateOp, VRErrorCode::invalidArgs, VRErrorCode::isADirectory, VestaSource::mutableDirectory, VestaSource::mutableFile, VRErrorCode::noPermission, VRErrorCode::ok, FdCache::open(), VestaSource::outdated, FdCache::rw, shortId, VestaSource::stub, VestaSource::volatileDirectory, VestaSource::volatileROEDirectory, and AccessControl::write.


Member Data Documentation

unsigned int VLeaf::link_count [private]
 

Definition at line 43 of file VLeaf.H.

Referenced by linkCount(), and VLeaf().

ShortId VLeaf::shortId_ [private]
 

Definition at line 42 of file VLeaf.H.

Referenced by shortId(), and VLeaf().


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