IBR-DTNSuite
0.10
|
#include <Serializer.h>
Public Member Functions | |
SeparateSerializer (std::ostream &stream) | |
virtual | ~SeparateSerializer () |
virtual Serializer & | operator<< (const dtn::data::Block &obj) |
virtual Length | getLength (const dtn::data::Block &obj) const |
Public Member Functions inherited from dtn::data::DefaultSerializer | |
DefaultSerializer (std::ostream &stream) | |
DefaultSerializer (std::ostream &stream, const Dictionary &d) | |
virtual | ~DefaultSerializer () |
virtual Serializer & | operator<< (const dtn::data::Bundle &obj) |
virtual Serializer & | operator<< (const dtn::data::PrimaryBlock &obj) |
virtual Serializer & | operator<< (const dtn::data::BundleFragment &obj) |
virtual Length | getLength (const dtn::data::Bundle &obj) |
virtual Length | getLength (const dtn::data::PrimaryBlock &obj) const |
Public Member Functions inherited from dtn::data::Serializer | |
virtual | ~Serializer () |
Additional Inherited Members | |
Protected Member Functions inherited from dtn::data::DefaultSerializer | |
Serializer & | serialize (const dtn::data::PayloadBlock &obj, const Length &clip_offset, const Length &clip_length) |
void | rebuildDictionary (const dtn::data::Bundle &obj) |
bool | isCompressable (const dtn::data::Bundle &obj) const |
Protected Attributes inherited from dtn::data::DefaultSerializer | |
std::ostream & | _stream |
Dictionary | _dictionary |
bool | _compressable |
Definition at line 199 of file Serializer.h.
dtn::data::SeparateSerializer::SeparateSerializer | ( | std::ostream & | stream | ) |
Definition at line 842 of file Serializer.cpp.
|
virtual |
Definition at line 847 of file Serializer.cpp.
|
virtual |
Reimplemented from dtn::data::DefaultSerializer.
Definition at line 883 of file Serializer.cpp.
References dtn::data::Block::BLOCK_CONTAINS_EIDS, dtn::data::Block::get(), dtn::data::Block::getEIDList(), dtn::data::BundleString::getLength(), dtn::data::Block::getLength(), dtn::data::SDNV< E >::getLength(), dtn::data::Block::getProcessingFlags(), and dtn::data::Block::getType().
|
virtual |
Reimplemented from dtn::data::DefaultSerializer.
Definition at line 851 of file Serializer.cpp.
References dtn::data::DefaultSerializer::_stream, dtn::data::Block::BLOCK_CONTAINS_EIDS, dtn::data::Block::get(), dtn::data::Block::getEIDList(), dtn::data::Block::getLength(), dtn::data::Block::getProcessingFlags(), dtn::data::Block::getType(), and dtn::data::Block::serialize().