ibrcommon::BLOB Class Reference

#include <BLOB.h>

Inheritance diagram for ibrcommon::BLOB:
ibrcommon::Mutex ibrcommon::FileBLOB ibrcommon::StringBLOB ibrcommon::TmpFileBLOB

List of all members.

Classes

class  Reference

Public Member Functions

virtual ~BLOB ()
virtual void clear ()=0

Static Public Attributes

static File tmppath

Protected Member Functions

 BLOB (std::iostream &stream)
void increment ()
void decrement ()
bool isUnbound ()
virtual size_t getSize () const

Protected Attributes

std::iostream & _stream

Detailed Description

Definition at line 36 of file BLOB.h.


Constructor & Destructor Documentation

ibrcommon::BLOB::~BLOB (  )  [virtual]

Definition at line 22 of file BLOB.cpp.

ibrcommon::BLOB::BLOB ( std::iostream &  stream  )  [protected]

Definition at line 18 of file BLOB.cpp.


Member Function Documentation

virtual void ibrcommon::BLOB::clear (  )  [pure virtual]

This method deletes the content of the payload. The size will be zero after calling.

Implemented in ibrcommon::StringBLOB, ibrcommon::FileBLOB, and ibrcommon::TmpFileBLOB.

Referenced by ibrcommon::BLOB::Reference::clear().

void ibrcommon::BLOB::decrement (  )  [protected]

Definition at line 92 of file BLOB.cpp.

Referenced by ibrcommon::BLOB::Reference::~Reference().

size_t ibrcommon::BLOB::getSize (  )  const [protected, virtual]

Definition at line 105 of file BLOB.cpp.

References _stream.

Referenced by ibrcommon::BLOB::Reference::getSize().

void ibrcommon::BLOB::increment (  )  [protected]

Definition at line 86 of file BLOB.cpp.

Referenced by ibrcommon::BLOB::Reference::Reference().

bool ibrcommon::BLOB::isUnbound (  )  [protected]

Definition at line 98 of file BLOB.cpp.

Referenced by ibrcommon::BLOB::Reference::~Reference().


Member Data Documentation

std::iostream& ibrcommon::BLOB::_stream [protected]

Definition at line 101 of file BLOB.h.

Referenced by getSize(), and ibrcommon::BLOB::Reference::operator*().

This path has to be initialized to directory which should contain the temporary file blobs.

Definition at line 43 of file BLOB.h.

Referenced by init(), main(), and setGlobalVars().


The documentation for this class was generated from the following files:
Generated on Mon Aug 23 08:13:00 2010 for IBR-DTNSuite by  doxygen 1.6.3