X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FVectorParser.hh;h=3ac2e448f59afeed74e362a416a673528ca03ae7;hb=ffd0e5bf26f993bab27c777f71d58285867345d7;hp=e9378a59318c6b01064849054430ba376226d486;hpb=43ebe17b77586542dff65f2535815a19812e4316;p=senf.git diff --git a/Packets/VectorParser.hh b/Packets/VectorParser.hh index e9378a5..3ac2e44 100644 --- a/Packets/VectorParser.hh +++ b/Packets/VectorParser.hh @@ -23,8 +23,8 @@ /** \file \brief VectorParser public header */ -#ifndef HH_VectorParser_ -#define HH_VectorParser_ 1 +#ifndef HH_SENF_Packets_VectorParser_ +#define HH_SENF_Packets_VectorParser_ 1 // Custom includes #include @@ -129,7 +129,7 @@ namespace senf { */ template class VectorParser_Container - : private AuxPolicy + : private AuxPolicy::WrapperPolicy { public: /////////////////////////////////////////////////////////////////////////// @@ -236,6 +236,10 @@ namespace senf { SENF_PARSER_VECTOR ( vec, vec_size_, senf::UInt32Parser ); \endcode + \warning Realize, that the \a size field is controlled by the vector parser. This field + should therefore be declared either read-only or private and must be changed only via + the vector parser. + Further additional tags are supported which modify the way, the \a size field is interpreted: @@ -287,8 +291,8 @@ namespace senf { ///////////////////////////////hh.e//////////////////////////////////////// #endif -#if !defined(HH_Packets__decls_) && !defined(HH_VectorParser_i_) -#define HH_VectorParser_i_ +#if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_VectorParser_i_) +#define HH_SENF_Packets_VectorParser_i_ //#include "VectorParser.cci" #include "VectorParser.ct" #include "VectorParser.cti"