Class for a vector of BlockInfo structures. More...
#include <BlockInfo.h>
Public Member Functions | |
| BlockInfoVec () | |
| Default constructor. | |
| BlockInfo * | append_block (BlockProcessor *owner, const BlockInfo *source=NULL) |
| Append a block using the given processor and optional source block. | |
| const BlockInfo * | find_block (u_int8_t type) const |
| Find the block for the given type. | |
| bool | has_block (u_int8_t type) const |
| Check if an entry exists in the vector for the given block type. | |
| Dictionary * | dict () |
| Return the dictionary. | |
| u_int32_t | error_major () const |
| Error values stored by processing routines -- accessors. | |
| u_int32_t | error_minor () const |
| u_int32_t | error_debug () const |
| void | set_error_major (u_int32_t e) |
| Error values stored by processing routines -- mutating accessors. | |
| void | set_error_minor (u_int32_t e) |
| void | set_error_debug (u_int32_t e) |
Protected Member Functions | |
| NO_ASSIGN_COPY (BlockInfoVec) | |
| Disable the copy constructor and assignment operator. | |
Protected Attributes | |
| u_int32_t | error_major_ |
| Error values stored by processing routines. | |
| u_int32_t | error_minor_ |
| u_int32_t | error_debug_ |
| Dictionary | dict_ |
| Dictionary for this vector of BlockInfo structures. | |
Class for a vector of BlockInfo structures.
Definition at line 129 of file BlockInfo.h.
| dtn::BlockInfoVec::BlockInfoVec | ( | ) |
Default constructor.
Definition at line 184 of file BlockInfo.cc.
| BlockInfo * dtn::BlockInfoVec::append_block | ( | BlockProcessor * | owner, | |
| const BlockInfo * | source = NULL | |||
| ) |
Append a block using the given processor and optional source block.
Definition at line 194 of file BlockInfo.cc.
Referenced by dtn::BlockProcessor::prepare().
| Dictionary* dtn::BlockInfoVec::dict | ( | ) | [inline] |
Return the dictionary.
Definition at line 161 of file BlockInfo.h.
References dict_.
Referenced by dtn::PrimaryBlockProcessor::consume(), dtn::BlockProcessor::consume_preamble(), dtn::BlockProcessor::generate_preamble(), dtn::PrimaryBlockProcessor::generate_primary(), and dtn::PrimaryBlockProcessor::prepare().
| u_int32_t dtn::BlockInfoVec::error_debug | ( | ) | const [inline] |
Definition at line 169 of file BlockInfo.h.
References error_debug_.
| u_int32_t dtn::BlockInfoVec::error_major | ( | ) | const [inline] |
Error values stored by processing routines -- accessors.
Definition at line 167 of file BlockInfo.h.
References error_major_.
| u_int32_t dtn::BlockInfoVec::error_minor | ( | ) | const [inline] |
Definition at line 168 of file BlockInfo.h.
References error_minor_.
| const BlockInfo * dtn::BlockInfoVec::find_block | ( | u_int8_t | type | ) | const |
Find the block for the given type.
Definition at line 202 of file BlockInfo.cc.
References end.
Referenced by has_block(), dtnsim::SimLink::start_next_bundle(), dtn::FragmentManager::try_to_convert_to_fragment(), and dtn::FragmentManager::try_to_reactively_fragment().
| bool dtn::BlockInfoVec::has_block | ( | u_int8_t | type | ) | const [inline] |
Check if an entry exists in the vector for the given block type.
Definition at line 156 of file BlockInfo.h.
References find_block().
| dtn::BlockInfoVec::NO_ASSIGN_COPY | ( | BlockInfoVec | ) | [protected] |
Disable the copy constructor and assignment operator.
| void dtn::BlockInfoVec::set_error_debug | ( | u_int32_t | e | ) | [inline] |
Definition at line 177 of file BlockInfo.h.
References error_debug_.
| void dtn::BlockInfoVec::set_error_major | ( | u_int32_t | e | ) | [inline] |
Error values stored by processing routines -- mutating accessors.
Definition at line 175 of file BlockInfo.h.
References error_major_.
| void dtn::BlockInfoVec::set_error_minor | ( | u_int32_t | e | ) | [inline] |
Definition at line 176 of file BlockInfo.h.
References error_minor_.
Dictionary dtn::BlockInfoVec::dict_ [protected] |
Dictionary for this vector of BlockInfo structures.
Definition at line 190 of file BlockInfo.h.
Referenced by dict().
u_int32_t dtn::BlockInfoVec::error_debug_ [protected] |
Definition at line 185 of file BlockInfo.h.
Referenced by error_debug(), and set_error_debug().
u_int32_t dtn::BlockInfoVec::error_major_ [protected] |
Error values stored by processing routines.
Definition at line 183 of file BlockInfo.h.
Referenced by error_major(), and set_error_major().
u_int32_t dtn::BlockInfoVec::error_minor_ [protected] |
Definition at line 184 of file BlockInfo.h.
Referenced by error_minor(), and set_error_minor().
1.6.3