X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FVectorParser.hh;h=12c599b25a856079c1faff99540545e13ad25397;hb=5158ab14205f56ba33fe72ce1e1914c7d46430fd;hp=623e18f567fec095468c36d8d3bfd46e9a200048;hpb=d3cc92544f3efc741d14c36e4cd89e311a6867fa;p=senf.git diff --git a/Packets/VectorParser.hh b/Packets/VectorParser.hh index 623e18f..12c599b 100644 --- a/Packets/VectorParser.hh +++ b/Packets/VectorParser.hh @@ -54,7 +54,16 @@ namespace senf { VectorParser makes use of a policy template argument, \a AuxPolicy, to customize the way the containers size is obtained. You will normally not instantiate VectorParser directly, you will use the \ref SENF_PARSER_VECTOR() helper macro. + + Some basic vector access methods are defined as parser members. To access the complete list + API however you will need to instantiate a container wrapper for the vector. See \ref + packet_usage_fields_collection. + \see + \ref How to access \ref packet_usage_fields_collection \n + SENF_PARSER_VECTOR() macro used to define vector fields \n + VectorParser_Container vector container wrapper API + \ingroup parsecollection */ template @@ -276,6 +285,11 @@ namespace senf { \param[in] size name of field giving the vector size \param[in] elt_type vector element type + \see + How to use \ref packet_usage_fields_collection \n + senf::VectorParser the vector parser API for vector field access + senf::VectorParser_Container the vector parser container API for vector field access + \hideinitializer \ingroup packetparsermacros */ @@ -290,7 +304,7 @@ namespace senf { \ingroup packetparsermacros */ # define SENF_PARSER_PRIVATE_VECTOR(name, size, elt_type) \ - SENF_PARSER_VECTOR_I(private, name, size, elt_type) + SENF_PARSER_VECTOR_I(protected, name, size, elt_type) } ///////////////////////////////hh.e////////////////////////////////////////