// Custom includes
#define prefix_ inline
-///////////////////////////////cti.p///////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
// senf::PacketInterpreterBase
// Interpreter chain access
return impl().annotation<Annotation>();
}
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
// senf::PacketInterpreter<PacketType>
template <class PacketType>
return parser (data().begin(),&data());
}
-////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
// private members
// Private structors
}
template <class PacketType>
+prefix_ typename senf::PacketInterpreter<PacketType>::ptr
+senf::PacketInterpreter<PacketType>::create(detail::PacketImpl * impl, iterator b, iterator e,
+ PacketInterpreterBase::ptr before)
+{
+ return ptr(new PacketInterpreter(impl,b,e,before));
+}
+
+template <class PacketType>
prefix_ senf::PacketInterpreter<PacketType>::PacketInterpreter(detail::PacketImpl * impl,
iterator b, iterator e, Append_t)
: PacketInterpreterBase(impl,b,e,Append)
: PacketInterpreterBase(impl,b,e,Prepend)
{}
+template <class PacketType>
+prefix_
+senf::PacketInterpreter<PacketType>::PacketInterpreter(detail::PacketImpl * impl, iterator b,
+ iterator e,
+ PacketInterpreterBase::ptr before)
+ : PacketInterpreterBase(impl,b,e,before)
+{}
+
// PacketType access
template <class PacketType>
return type::init(ConcretePacket<PacketType>(ptr(this)));
}
-///////////////////////////////cti.e///////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#undef prefix_
\f