senf::detail::DynamicWrapperAuxParserPolicy< P > Struct Template Reference

Internal: Dynamic aux-parser policy (container wrapper). More...

#include <senf/Packets/AuxParser.hh>

List of all members.


Detailed Description

template<class P>
struct senf::detail::DynamicWrapperAuxParserPolicy< P >

Internal: Dynamic aux-parser policy (container wrapper).

Place auxiliary field at a variable distance before the container/collection. This is the wrapper policy used by DynamicAuxParserPolicy

Definition at line 107 of file AuxParser.hh.


Public Types

typedef
DynamicWrapperAuxParserPolicy
< P > 
WrapperPolicy
typedef DynamicAuxParserPolicy< P >  ParserPolicy

Public Member Functions

  DynamicWrapperAuxParserPolicy (ParserPolicy const &other)
P::value_type  aux (PacketParserBase::data_iterator i, PacketParserBase::state_type s) const
void  aux (typename P::value_type const &v, PacketParserBase::data_iterator i, PacketParserBase::state_type s) const
PacketParserBase::data_iterator  adjust (PacketParserBase::data_iterator i, PacketParserBase::state_type s) const

Public Attributes

SafePacketParserWrapper< P >  p_

Static Public Attributes

static
PacketParserBase::size_type
const 
aux_bytes = 0

Member Typedef Documentation

template<class P >
typedef DynamicAuxParserPolicy<P> senf::detail::DynamicWrapperAuxParserPolicy< P >::
ParserPolicy

Definition at line 110 of file AuxParser.hh.

template<class P >
typedef DynamicWrapperAuxParserPolicy<P> senf::detail::DynamicWrapperAuxParserPolicy< P >::
WrapperPolicy

Definition at line 109 of file AuxParser.hh.


Constructor & Destructor Documentation

template<class P >
senf::detail::DynamicWrapperAuxParserPolicy< P >::
DynamicWrapperAuxParserPolicy ( ParserPolicy const &  other )

Definition at line 139 of file AuxParser.cti.


Member Function Documentation

template<class P >
void senf::detail::DynamicWrapperAuxParserPolicy< P >::
aux ( typename P::value_type const &  v,
PacketParserBase::data_iterator  i,
PacketParserBase::state_type  s )

Definition at line 154 of file AuxParser.cti.

Definition at line 145 of file AuxParser.cti.


Member Data Documentation

Definition at line 112 of file AuxParser.hh.

Definition at line 120 of file AuxParser.hh.


The documentation for this struct was generated from the following files: