template <class Base>
template <class Parser>
prefix_ Parser senf::GenericTLVParserBase<Base>::init()
-{
+{
senf::PacketParserBase::size_type oldSize (bytes() );
senf::PacketParserBase::size_type newParserSize ( senf::init_bytes<Parser>::value );
this->resize( oldSize, newParserSize);
template <class Base>
prefix_ void senf::GenericTLVParserBase<Base>::dump(std::ostream & os)
- const
+ const
{
if (Base::Registry::instance().isRegistered( *this)) {
Base::Registry::instance().dump( *this, os);
}
template <class Base>
-prefix_ senf::PacketInterpreterBase::range senf::GenericTLVParserBase<Base>::value()
- const
+prefix_ senf::PacketInterpreterBase::range senf::GenericTLVParserBase<Base>::value()
+ const
{
senf::PacketData::iterator begin ( boost::next(this->i(), senf::bytes( self())) );
return PacketInterpreterBase::range(begin, boost::next( begin, this->length()) );
throw TLVParserNotRegisteredException();
}
-
+
///////////////////////////////ct.e////////////////////////////////////////
#undef prefix_