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

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

#include <senf/Packets/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
 

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 68 of file AuxParser.hh.

Member Typedef Documentation

◆ ParserPolicy

Definition at line 101 of file AuxParser.hh.

◆ WrapperPolicy

Definition at line 100 of file AuxParser.hh.

Constructor & Destructor Documentation

◆ DynamicWrapperAuxParserPolicy()

Member Function Documentation

◆ adjust()

◆ aux() [1/2]

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

◆ aux() [2/2]

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

Member Data Documentation

◆ aux_bytes

template<class P >
PacketParserBase::size_type const senf::detail::DynamicWrapperAuxParserPolicy< P >::aux_bytes = 0
static

Definition at line 103 of file AuxParser.hh.

◆ p_

Definition at line 111 of file AuxParser.hh.


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