#include <BlockInfo.h>
Inheritance diagram for dtn::BlockInfoVec:
Definition at line 92 of file BlockInfo.h.
Public Member Functions | |
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. |
const BlockInfo * dtn::BlockInfoVec::find_block | ( | u_int8_t | type | ) | const |
Find the block for the given type.
Definition at line 140 of file BlockInfo.cc.
References end.
Referenced by has_block(), and dtnsim::SimConvergenceLayer::send_bundle().
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 104 of file BlockInfo.h.
References find_block().
Referenced by dtn::BundleProtocol::prepare_blocks().