X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FListNParser.ih;h=248098f8f3418d4246ac6a5e5910dec9e9870a63;hb=7ee689fe38d66aa3a0004d55e8708750d35adc0b;hp=b6e2042e0f20aed7949ed55e4bc04055f71051a3;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Packets/ListNParser.ih b/senf/Packets/ListNParser.ih index b6e2042..248098f 100644 --- a/senf/Packets/ListNParser.ih +++ b/senf/Packets/ListNParser.ih @@ -29,7 +29,7 @@ // Custom includes #include "ListParser.ih" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -42,17 +42,22 @@ namespace detail { struct ListNParser_Policy : public AuxPolicy { + typedef ListNParser_Policy< + ElementParser, typename AuxPolicy::ParserPolicy> parser_policy; + typedef ListNParser_Policy< + ElementParser, typename AuxPolicy::WrapperPolicy> container_policy; typedef PacketParserBase::data_iterator data_iterator; typedef PacketParserBase::state_type state_type; typedef PacketParserBase::size_type size_type; typedef ElementParser element_type; - typedef ListParser< ListNParser_Policy > parser_type; - typedef ListParser_Container< ListNParser_Policy > container_type; + typedef ListParser parser_type; + typedef ListParser_Container container_type; static const size_type init_bytes = AuxPolicy::aux_bytes; ListNParser_Policy(); template ListNParser_Policy(Arg const & aux); + ListNParser_Policy(parser_policy const & policy); size_type bytes (data_iterator i, state_type s) const; size_type size (data_iterator i, state_type s) const; @@ -97,7 +102,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif