ibrcommon::TmpFileBLOB Class Reference

#include <BLOB.h>

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

List of all members.

Public Member Functions

virtual ~TmpFileBLOB ()
virtual void clear ()

Static Public Member Functions

static BLOB::Reference create ()

Detailed Description

A TmpFileBLOB creates a temporary file on instantiation to hold a large amount of data. It is based on fstream objects and limited by the system architecture (max. 2GB on 32-bit systems).

Definition at line 149 of file BLOB.h.


Constructor & Destructor Documentation

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

Definition at line 226 of file BLOB.cpp.

References ibrcommon::File::remove().


Member Function Documentation

void ibrcommon::TmpFileBLOB::clear (  )  [virtual]

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

Implements ibrcommon::BLOB.

Definition at line 182 of file BLOB.cpp.

References ibrcommon::Mutex::enter(), ibrcommon::File::getPath(), ibrcommon::Mutex::leave(), and ibrcommon::File::remove().

BLOB::Reference ibrcommon::TmpFileBLOB::create (  )  [static]

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