IBR-DTNSuite
0.8
|
#include <Bundle.h>
Public Member Functions | |
BlockList () | |
virtual | ~BlockList () |
BlockList & | operator= (const BlockList &ref) |
void | push_front (Block *block) |
void | push_back (Block *block) |
void | insert (Block *block, const Block *before) |
void | remove (const Block *block) |
void | clear () |
const std::set< dtn::data::EID > | getEIDs () const |
Block & | get (int index) |
const Block & | get (int index) const |
template<class T > | |
T & | get () |
template<class T > | |
const T & | get () const |
template<class T > | |
const std::list< const T * > | getList () const |
const std::list< const Block * > | getList () const |
size_t | size () const |
template<> | |
const CustodySignalBlock & | get () const |
template<> | |
const StatusReportBlock & | get () const |
template<> | |
const CustodySignalBlock & | get () const |
template<> | |
const StatusReportBlock & | get () const |
Friends | |
class | DefaultSerializer |
class | DefaultDeserializer |
class | dtn::security::StrictSerializer |
class | dtn::security::MutualSerializer |
Definition at line 33 of file Bundle.cpp.
dtn::data::Bundle::BlockList::~BlockList | ( | ) | [virtual] |
Definition at line 37 of file Bundle.cpp.
void dtn::data::Bundle::BlockList::clear | ( | ) |
Definition at line 111 of file Bundle.cpp.
References clear().
Referenced by clear(), dtn::data::Bundle::clearBlocks(), and operator=().
Block & dtn::data::Bundle::BlockList::get | ( | int | index | ) |
Definition at line 312 of file Bundle.cpp.
References size().
Referenced by dtn::data::Bundle::getBlock().
const Block & dtn::data::Bundle::BlockList::get | ( | int | index | ) | const |
Definition at line 301 of file Bundle.cpp.
References size().
T & dtn::data::Bundle::BlockList::get | ( | ) |
Definition at line 282 of file Bundle.cpp.
References dtn::data::PayloadBlock::BLOCK_TYPE.
const T & dtn::data::Bundle::BlockList::get | ( | ) | const |
const CustodySignalBlock& dtn::data::Bundle::BlockList::get | ( | ) | const |
const StatusReportBlock& dtn::data::Bundle::BlockList::get | ( | ) | const |
const CustodySignalBlock& dtn::data::Bundle::BlockList::get | ( | ) | const |
Definition at line 324 of file Bundle.cpp.
References dtn::data::PayloadBlock::BLOCK_TYPE.
const StatusReportBlock& dtn::data::Bundle::BlockList::get | ( | ) | const |
Definition at line 364 of file Bundle.cpp.
References dtn::data::PayloadBlock::BLOCK_TYPE.
const std::set< dtn::data::EID > dtn::data::Bundle::BlockList::getEIDs | ( | ) | const |
Definition at line 129 of file Bundle.cpp.
const std::list< const T * > dtn::data::Bundle::BlockList::getList | ( | ) | const |
Definition at line 117 of file Bundle.cpp.
Referenced by dtn::data::Bundle::getBlocks().
const std::list<const Block*> dtn::data::Bundle::BlockList::getList | ( | ) | const |
void dtn::data::Bundle::BlockList::insert | ( | Block * | block, |
const Block * | before | ||
) |
Definition at line 78 of file Bundle.cpp.
References insert().
Referenced by insert(), and dtn::data::Bundle::insert().
Bundle::BlockList & dtn::data::Bundle::BlockList::operator= | ( | const BlockList & | ref | ) |
Definition at line 41 of file Bundle.cpp.
References clear(), and push_back().
void dtn::data::Bundle::BlockList::push_back | ( | Block * | block | ) |
Definition at line 63 of file Bundle.cpp.
References dtn::data::Block::LAST_BLOCK, push_back(), and dtn::data::Block::set().
Referenced by operator=(), push_back(), and dtn::data::Bundle::push_back().
void dtn::data::Bundle::BlockList::push_front | ( | Block * | block | ) |
Definition at line 52 of file Bundle.cpp.
References dtn::data::Block::LAST_BLOCK, push_front(), and dtn::data::Block::set().
Referenced by push_front(), and dtn::data::Bundle::push_front().
void dtn::data::Bundle::BlockList::remove | ( | const Block * | block | ) |
Definition at line 92 of file Bundle.cpp.
References dtn::data::Block::LAST_BLOCK.
Referenced by dtn::data::Bundle::remove().
size_t dtn::data::Bundle::BlockList::size | ( | ) | const |
Definition at line 276 of file Bundle.cpp.
References size().
Referenced by dtn::data::Bundle::blockCount(), get(), and size().
friend class DefaultDeserializer [friend] |
friend class DefaultSerializer [friend] |
friend class dtn::security::MutualSerializer [friend] |
friend class dtn::security::StrictSerializer [friend] |