#include <BLOB.h>
Public Member Functions | |
| virtual | ~FileBLOB () |
| virtual void | clear () |
Static Public Member Functions | |
| static BLOB::Reference | create (const File &f) |
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.
| void ibrcommon::FileBLOB::clear | ( | ) | [virtual] |
This method deletes the content of the payload. The size will be zero after calling.
Implements ibrcommon::BLOB.
| BLOB::Reference ibrcommon::FileBLOB::create | ( | const File & | f | ) | [static] |
Definition at line 138 of file BLOB.cpp.
Referenced by dtn::api::FileBundle::FileBundle().
1.6.3