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

Internal: Dynamic aux-parser policy. More...

#include <senf/Packets/AuxParser.hh>

Public Types

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

Public Member Functions

 DynamicAuxParserPolicy (P p)
 
 DynamicAuxParserPolicy (WrapperPolicy 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

p_
 

Static Public Attributes

static PacketParserBase::size_type const aux_bytes = 0
 

Detailed Description

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

Internal: Dynamic aux-parser policy.

Place auxiliary field at a variable distance before the container/collection

Definition at line 75 of file AuxParser.hh.

Member Typedef Documentation

◆ ParserPolicy

Definition at line 78 of file AuxParser.hh.

◆ WrapperPolicy

Definition at line 77 of file AuxParser.hh.

Constructor & Destructor Documentation

◆ DynamicAuxParserPolicy() [1/2]

◆ DynamicAuxParserPolicy() [2/2]

template<class P >
senf::detail::DynamicAuxParserPolicy< P >::DynamicAuxParserPolicy ( WrapperPolicy const &  other)

Member Function Documentation

◆ adjust()

◆ aux() [1/2]

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

◆ aux() [2/2]

template<class P >
void senf::detail::DynamicAuxParserPolicy< 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::DynamicAuxParserPolicy< P >::aux_bytes = 0
static

Definition at line 80 of file AuxParser.hh.

◆ p_

template<class P >
P senf::detail::DynamicAuxParserPolicy< P >::p_
mutable

Definition at line 89 of file AuxParser.hh.


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