senf::detail::TransformAuxParserPolicy< Policy, Transform > Struct Template Reference

Internal: Apply transformation to arbitrary aux-parser policy. More...

#include <senf/Packets/AuxParser.hh>

Inheritance diagram for senf::detail::TransformAuxParserPolicy< Policy, Transform >:

Public Types

typedef TransformAuxParserPolicy< typename Policy::WrapperPolicy, Transform > WrapperPolicy
 
typedef TransformAuxParserPolicy< typename Policy::ParserPolicy, Transform > ParserPolicy
 

Public Member Functions

 TransformAuxParserPolicy ()
 
template<class Arg >
 TransformAuxParserPolicy (Arg const &arg)
 
Transform::value_type aux (PacketParserBase::data_iterator i, PacketParserBase::state_type s) const
 
void aux (typename Transform::value_type const &v, PacketParserBase::data_iterator i, PacketParserBase::state_type s) const
 

Static Public Attributes

static PacketParserBase::size_type const aux_bytes = Policy::aux_bytes
 

Detailed Description

template<class Policy, class Transform>
struct senf::detail::TransformAuxParserPolicy< Policy, Transform >

Internal: Apply transformation to arbitrary aux-parser policy.

Transform must satisfy the interface

struct Transform
{
typedef unspecified value_type;
static value_type get(unspecified v);
static unspecified set(value_type v);
};

Definition at line 127 of file AuxParser.hh.

Member Typedef Documentation

◆ ParserPolicy

template<class Policy , class Transform >
typedef TransformAuxParserPolicy<typename Policy::ParserPolicy, Transform> senf::detail::TransformAuxParserPolicy< Policy, Transform >::ParserPolicy

Definition at line 131 of file AuxParser.hh.

◆ WrapperPolicy

template<class Policy , class Transform >
typedef TransformAuxParserPolicy<typename Policy::WrapperPolicy, Transform> senf::detail::TransformAuxParserPolicy< Policy, Transform >::WrapperPolicy

Definition at line 130 of file AuxParser.hh.

Constructor & Destructor Documentation

◆ TransformAuxParserPolicy() [1/2]

template<class Policy , class Transform >
senf::detail::TransformAuxParserPolicy< Policy, Transform >::TransformAuxParserPolicy ( )

◆ TransformAuxParserPolicy() [2/2]

template<class Policy , class Transform >
template<class Arg >
senf::detail::TransformAuxParserPolicy< Policy, Transform >::TransformAuxParserPolicy ( Arg const &  arg)

Member Function Documentation

◆ aux() [1/2]

template<class Policy , class Transform >
Transform::value_type senf::detail::TransformAuxParserPolicy< Policy, Transform >::aux ( PacketParserBase::data_iterator  i,
PacketParserBase::state_type  s 
) const

◆ aux() [2/2]

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

Member Data Documentation

◆ aux_bytes

template<class Policy , class Transform >
PacketParserBase::size_type const senf::detail::TransformAuxParserPolicy< Policy, Transform >::aux_bytes = Policy::aux_bytes
static

Definition at line 133 of file AuxParser.hh.


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