IBR-DTNSuite 0.6

ibrcommon::StringBLOB Class Reference

#include <BLOB.h>

Inheritance diagram for ibrcommon::StringBLOB:
Collaboration diagram for ibrcommon::StringBLOB:

List of all members.

Public Member Functions

virtual ~StringBLOB ()
virtual void clear ()
virtual void open ()
virtual void close ()

Static Public Member Functions

static BLOB::Reference create ()

Protected Member Functions

std::iostream & __get_stream ()
size_t __get_size ()

Detailed Description

A StringBLOB contains a small amount of data, is based on a stringstream object and hence it is always held in memory.

Definition at line 160 of file BLOB.h.


Constructor & Destructor Documentation

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

Definition at line 206 of file BLOB.cpp.


Member Function Documentation

size_t ibrcommon::StringBLOB::__get_size ( ) [protected, virtual]

Implements ibrcommon::BLOB.

Definition at line 222 of file BLOB.cpp.

std::iostream& ibrcommon::StringBLOB::__get_stream ( ) [inline, protected, virtual]

Implements ibrcommon::BLOB.

Definition at line 172 of file BLOB.h.

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

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

Implements ibrcommon::BLOB.

Definition at line 195 of file BLOB.cpp.

void ibrcommon::StringBLOB::close ( ) [virtual]

Implements ibrcommon::BLOB.

Definition at line 218 of file BLOB.cpp.

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

Definition at line 189 of file BLOB.cpp.

Referenced by main().

void ibrcommon::StringBLOB::open ( ) [virtual]

Implements ibrcommon::BLOB.

Definition at line 210 of file BLOB.cpp.


The documentation for this class was generated from the following files: