X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FVectorParser.ih;h=bd46aa1161c1cfaa2834f417ae6d512dee6a2bb7;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=9f6771c4e60f41cec3764740ee3ab367a8f969ea;hpb=166490fa7396b56c717ab4efea4551b8c5581ef9;p=senf.git diff --git a/Packets/VectorParser.ih b/Packets/VectorParser.ih index 9f6771c..bd46aa1 100644 --- a/Packets/VectorParser.ih +++ b/Packets/VectorParser.ih @@ -23,8 +23,8 @@ /** \file \brief VectorParser internal header */ -#ifndef IH_VectorParser_ -#define IH_VectorParser_ 1 +#ifndef IH_SENF_Packets_VectorParser_ +#define IH_SENF_Packets_VectorParser_ 1 // Custom includes @@ -33,14 +33,7 @@ namespace senf { namespace detail { -# define SENF_PARSER_VEC_N_I(field, name, size, elt_type) \ - typedef senf::VectorParser< \ - elt_type, \ - senf::detail::FixedAuxParserPolicy< BOOST_PP_CAT(size, _t), \ - SENF_PARSER_CURRENT_FIXED_OFFSET() \ - - SENF_PARSER_FIXED_OFFSET(size) > \ - > BOOST_PP_CAT(name, _vec_t); \ - field( name, BOOST_PP_CAT(name, _vec_t) ) +#ifndef DOXYGEN template struct VectorParserPolicy @@ -95,6 +88,8 @@ namespace detail { size, \ senf::detail::VectorParserTraits ) +#endif + }} ///////////////////////////////ih.e////////////////////////////////////////