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

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

#include <senf/Packets/AuxParser.hh>

Public Types

typedef PrefixAuxParserPolicy WrapperPolicy
 
typedef PrefixAuxParserPolicy 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 = P::fixed_bytes
 

Detailed Description

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

Internal: Prefix aux-parser policy.

Place auxiliary field directly before a container/collection.

Definition at line 39 of file AuxParser.hh.

Member Typedef Documentation

◆ ParserPolicy

Definition at line 42 of file AuxParser.hh.

◆ WrapperPolicy

Definition at line 41 of file AuxParser.hh.

Member Function Documentation

◆ adjust()

◆ aux() [1/2]

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

◆ aux() [2/2]

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

Definition at line 44 of file AuxParser.hh.


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