X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FVectorParser.hh;h=34b2c2921f0478d0f3156e1fe8cd3d3e3f5b96dd;hb=165ec46dc3d091c354ef8dbda67dcf7b1a97fc7d;hp=e9378a59318c6b01064849054430ba376226d486;hpb=43ebe17b77586542dff65f2535815a19812e4316;p=senf.git diff --git a/Packets/VectorParser.hh b/Packets/VectorParser.hh index e9378a5..34b2c29 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 @@ -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"