X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketInterpreter.hh;h=2760b9d1f483403d3c8db4d9054e7e6547acb2f5;hb=7ee689fe38d66aa3a0004d55e8708750d35adc0b;hp=fa9ed46a50a86c81c76dfa1fdf15f0ec128fee9c;hpb=14f43d9587103f6a78e51628785f93f1c14f99a0;p=senf.git diff --git a/senf/Packets/PacketInterpreter.hh b/senf/Packets/PacketInterpreter.hh index fa9ed46..2760b9d 100644 --- a/senf/Packets/PacketInterpreter.hh +++ b/senf/Packets/PacketInterpreter.hh @@ -37,7 +37,7 @@ #include //#include "PacketInterpreter.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -56,7 +56,7 @@ namespace senf { public intrusive_refcount_t { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef senf::detail::packet::smart_pointer< @@ -121,9 +121,9 @@ namespace senf { typedef Factory const * factory_t; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // protected constructors // no copy @@ -135,11 +135,11 @@ namespace senf { ptr clone(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Interpreter chain access - ///@{ + //\{ ptr next(); ptr prev(); @@ -153,26 +153,30 @@ namespace senf { ptr append(ptr packet); - ///@} + void reparse(); + + //\} ///\name Data access - ///@{ + //\{ using PacketData::valid; PacketData & data(); - ///@} + //\} ///\name Annotations - ///@{ + //\{ template Annotation & annotation(); - ///@} + void clearAnnotations(); + + //\} ///\name Access to the abstract interface - ///@{ + //\{ optional_range nextPacketRange(); void finalizeThis(); @@ -182,7 +186,7 @@ namespace senf { factory_t factory(); factory_t nextPacketType(); - ///@} + //\} protected: // protected structors @@ -250,7 +254,7 @@ namespace senf { public pool_alloc_mixin< PacketInterpreter > { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef typename senf::detail::packet::smart_pointer< @@ -258,9 +262,9 @@ namespace senf { typedef PacketType type; typedef typename type::parser parser; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // private constructors // no copy @@ -299,8 +303,8 @@ namespace senf { ptr clone(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// // Packet field access @@ -406,7 +410,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketInterpreter_i_) #define HH_SENF_Packets_PacketInterpreter_i_