IBR-DTNSuite  0.8
dtn::data::Bundle::BlockList Class Reference

#include <Bundle.h>

List of all members.

Public Member Functions

 BlockList ()
virtual ~BlockList ()
BlockListoperator= (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::EIDgetEIDs () const
Blockget (int index)
const Blockget (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 CustodySignalBlockget () const
template<>
const StatusReportBlockget () const
template<>
const CustodySignalBlockget () const
template<>
const StatusReportBlockget () const

Friends

class DefaultSerializer
class DefaultDeserializer
class dtn::security::StrictSerializer
class dtn::security::MutualSerializer

Detailed Description

Definition at line 55 of file Bundle.h.


Constructor & Destructor Documentation

Definition at line 33 of file Bundle.cpp.

Definition at line 37 of file Bundle.cpp.


Member Function Documentation

Definition at line 111 of file Bundle.cpp.

References clear().

Referenced by clear(), dtn::data::Bundle::clearBlocks(), and operator=().

Here is the call graph for this function:

Definition at line 312 of file Bundle.cpp.

References size().

Referenced by dtn::data::Bundle::getBlock().

Here is the call graph for this function:

const Block & dtn::data::Bundle::BlockList::get ( int  index) const

Definition at line 301 of file Bundle.cpp.

References size().

Here is the call graph for this function:

template<class T >
T & dtn::data::Bundle::BlockList::get ( )

Definition at line 282 of file Bundle.cpp.

References dtn::data::PayloadBlock::BLOCK_TYPE.

template<class T >
const T & dtn::data::Bundle::BlockList::get ( ) const

Definition at line 173 of file Bundle.h.

Definition at line 324 of file Bundle.cpp.

References dtn::data::PayloadBlock::BLOCK_TYPE.

Definition at line 364 of file Bundle.cpp.

References dtn::data::PayloadBlock::BLOCK_TYPE.

Definition at line 129 of file Bundle.cpp.

template<class T >
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().

Here is the call graph for this function:

Bundle::BlockList & dtn::data::Bundle::BlockList::operator= ( const BlockList ref)

Definition at line 41 of file Bundle.cpp.

References clear(), and push_back().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Definition at line 92 of file Bundle.cpp.

References dtn::data::Block::LAST_BLOCK.

Referenced by dtn::data::Bundle::remove().

Definition at line 276 of file Bundle.cpp.

References size().

Referenced by dtn::data::Bundle::blockCount(), get(), and size().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class DefaultDeserializer [friend]

Definition at line 58 of file Bundle.h.

friend class DefaultSerializer [friend]

Definition at line 57 of file Bundle.h.

friend class dtn::security::MutualSerializer [friend]

Definition at line 60 of file Bundle.h.

friend class dtn::security::StrictSerializer [friend]

Definition at line 59 of file Bundle.h.


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