senf::detail::FixedAuxParserPolicy< P, Dist > Struct Template Reference

Internal: Fixed distance aux-parser policy. More...

#include <senf/Packets/AuxParser.hh>

Public Types

typedef FixedAuxParserPolicy WrapperPolicy
 
typedef FixedAuxParserPolicy ParserPolicy
 

Public Member Functions

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
 

Static Public Attributes

static PacketParserBase::size_type const aux_bytes = 0
 

Detailed Description

template<class P, unsigned Dist>
struct senf::detail::FixedAuxParserPolicy< P, Dist >

Internal: Fixed distance aux-parser policy.

Place auxiliary field a fixed distance before the container/collection

Definition at line 56 of file AuxParser.hh.

Member Typedef Documentation

◆ ParserPolicy

template<class P , unsigned Dist>
typedef FixedAuxParserPolicy senf::detail::FixedAuxParserPolicy< P, Dist >::ParserPolicy

Definition at line 59 of file AuxParser.hh.

◆ WrapperPolicy

template<class P , unsigned Dist>
typedef FixedAuxParserPolicy senf::detail::FixedAuxParserPolicy< P, Dist >::WrapperPolicy

Definition at line 58 of file AuxParser.hh.

Member Function Documentation

◆ adjust()

◆ aux() [1/2]

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

◆ aux() [2/2]

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

Member Data Documentation

◆ aux_bytes

template<class P , unsigned Dist>
PacketParserBase::size_type const senf::detail::FixedAuxParserPolicy< P, Dist >::aux_bytes = 0
static

Definition at line 61 of file AuxParser.hh.


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