X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FVectorParser.hh;h=66c03f534490b38bbe6492ec4cc3d2c703e64ba5;hb=99c145da3884f5c20a74337927ef2cbc073d80d7;hp=d914a5fd0fb2aa99102fd445db620db57200f735;hpb=a518319a80169b48c8dccfeb82ed2834d3eebd75;p=senf.git diff --git a/senf/Packets/VectorParser.hh b/senf/Packets/VectorParser.hh index d914a5f..66c03f5 100644 --- a/senf/Packets/VectorParser.hh +++ b/senf/Packets/VectorParser.hh @@ -33,7 +33,7 @@ #include "AuxParser.hh" // for the AuxPolicies //#include "VectorParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -79,7 +79,7 @@ namespace senf { static const size_type init_bytes = AuxPolicy::aux_bytes; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Container interface typedef ElementParser value_type; @@ -120,7 +120,7 @@ namespace senf { This is the container wrapper used for vector parsers. The container wrapper will stay valid after changing the collection. However the container still depends on the packet and will be invalidated if the Packet is deallocated or if the packet size is changed from without the - container wrapper (more precisely, it is invalided if the insertion/deletion happens before + container wrapper (more precisely, it is invalidated if the insertion/deletion happens before the vector in the packet data). The vector container wrapper provides a complete STL random-access sequence interface. @@ -138,7 +138,7 @@ namespace senf { : private AuxPolicy::WrapperPolicy { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef VectorParser parser_type; @@ -150,9 +150,9 @@ namespace senf { typedef iterator const_iterator; typedef PacketParserBase::state_type state_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // no default constructor // default copy @@ -161,11 +161,11 @@ namespace senf { VectorParser_Container(parser_type const & vector); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Accessors - ///@{ + //\{ size_type size() const; bool empty() const; @@ -177,9 +177,9 @@ namespace senf { value_type front() const; value_type back() const; - ///@} + //\} ///\name Mutators - ///@{ + //\{ iterator shift(iterator pos, size_type n=1); template @@ -206,10 +206,10 @@ namespace senf { void resize (size_type n); template void resize (size_type n, Value value); - ///@} + //\} ///\name Parser interface - ///@{ + //\{ parser_type parser() const; data_iterator i() const; @@ -219,7 +219,7 @@ namespace senf { size_type bytes() const; void init() const; - ///@} + //\} protected: @@ -304,7 +304,7 @@ namespace senf { SENF_PARSER_VECTOR_I(protected, name, size, elt_type) } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_VectorParser_i_) #define HH_SENF_Packets_VectorParser_i_