34 #ifdef __DEVELOPMENT_ASSERTIONS__
70 return (**
this) == type;
108 const T&
find()
const;
130 void remove(
const Block &block);
149 return dynamic_cast<T&
>(**it);
157 return dynamic_cast<const T&
>(**it);
163 T *tmpblock =
new T();
164 block_elem block( static_cast<dtn::data::Block*>(tmpblock) );
165 _blocks.push_front(block);
189 T *tmpblock =
new T();
190 block_elem block( static_cast<dtn::data::Block*>(tmpblock) );
191 _blocks.push_back(block);
209 T *tmpblock =
new T();
210 block_elem block( static_cast<dtn::data::Block*>(tmpblock) );
211 _blocks.insert(before, block);