ibrcommon::FileBLOB Class Reference

#include <BLOB.h>

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

List of all members.

Public Member Functions

virtual ~FileBLOB ()
virtual void clear ()

Static Public Member Functions

static BLOB::Reference create (const File &f)

Detailed Description

A FileBLOB is a read only BLOB object. It is based on a fstream object, but denies write access. This could be used to easy access static files.

Definition at line 130 of file BLOB.h.


Constructor & Destructor Documentation

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

Definition at line 166 of file BLOB.cpp.


Member Function Documentation

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

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

Implements ibrcommon::BLOB.

Definition at line 144 of file BLOB.cpp.

BLOB::Reference ibrcommon::FileBLOB::create ( const File f  )  [static]

Definition at line 138 of file BLOB.cpp.

Referenced by dtn::api::FileBundle::FileBundle().


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