IBR-DTNSuite
0.12
|
#include <Serializer.h>
Public Member Functions | |
SeparateDeserializer (std::istream &stream, Bundle &b) | |
virtual | ~SeparateDeserializer () |
dtn::data::Block & | readBlock () |
Public Member Functions inherited from dtn::data::DefaultDeserializer | |
DefaultDeserializer (std::istream &stream) | |
DefaultDeserializer (std::istream &stream, Validator &v) | |
virtual | ~DefaultDeserializer () |
virtual Deserializer & | operator>> (dtn::data::Bundle &obj) |
virtual Deserializer & | operator>> (dtn::data::PrimaryBlock &obj) |
virtual Deserializer & | operator>> (dtn::data::Block &obj) |
virtual Deserializer & | read (const dtn::data::PrimaryBlock &bundle, dtn::data::Block &obj) |
virtual Deserializer & | operator>> (dtn::data::MetaBundle &obj) |
void | setFragmentationSupport (bool val) |
Public Member Functions inherited from dtn::data::Deserializer | |
virtual | ~Deserializer () |
Additional Inherited Members | |
Protected Attributes inherited from dtn::data::DefaultDeserializer | |
std::istream & | _stream |
Validator & | _validator |
AcceptValidator | _default_validator |
Definition at line 194 of file Serializer.h.
dtn::data::SeparateDeserializer::SeparateDeserializer | ( | std::istream & | stream, |
Bundle & | b | ||
) |
Definition at line 897 of file Serializer.cpp.
|
virtual |
Definition at line 902 of file Serializer.cpp.
dtn::data::Block & dtn::data::SeparateDeserializer::readBlock | ( | ) |
Definition at line 906 of file Serializer.cpp.
References dtn::data::DefaultDeserializer::_stream, dtn::data::DefaultDeserializer::_validator, dtn::data::Block::addEID(), dtn::data::Block::BLOCK_CONTAINS_EIDS, dtn::data::Block::deserialize(), dtn::data::Block::get(), dtn::data::BundleBuilder::insert(), and dtn::data::Validator::validate().
Referenced by dtn::storage::SQLiteBundleStorage::get().