The Gaudi Framework  v32r2 (46d42edc)
Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper > Struct Template Reference

#include <Gaudi/Parsers/Grammars.h>

Inheritance diagram for Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >:
Collaboration diagram for Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >:

Classes

struct  Operations
 

Public Types

typedef TupleT ResultT
 
typedef tuple_remove_first_type< TupleT >::type TailT
 
typedef tuple_get_first_type< TupleT >::type HeadT
 

Public Member Functions

 TupleInnerGrammar ()
 

Public Attributes

TupleInnerGrammar< Iterator, TailT, N - 1, SkippergrLast
 
Grammar_< Iterator, HeadT, Skipper >::Grammar grHead
 
qi::rule< Iterator, ResultT(), qi::locals< HeadT >, Skippertup
 
ph::function< Operationsop
 

Detailed Description

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
struct Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >

Definition at line 177 of file Grammars.h.

Member Typedef Documentation

◆ HeadT

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
typedef tuple_get_first_type<TupleT>::type Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::HeadT

Definition at line 182 of file Grammars.h.

◆ ResultT

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
typedef TupleT Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::ResultT

Definition at line 180 of file Grammars.h.

◆ TailT

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
typedef tuple_remove_first_type<TupleT>::type Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::TailT

Definition at line 181 of file Grammars.h.

Constructor & Destructor Documentation

◆ TupleInnerGrammar()

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::TupleInnerGrammar ( )
inline

Definition at line 193 of file Grammars.h.

193  : TupleInnerGrammar::base_type( tup ) {
194  tup = grHead[qi::_a = qi::_1] >> ',' >> grLast[op( qi::_val, qi::_a, qi::_1 )];
195  }
qi::rule< Iterator, ResultT(), qi::locals< HeadT >, Skipper > tup
Definition: Grammars.h:200
TupleInnerGrammar< Iterator, TailT, N - 1, Skipper > grLast
Definition: Grammars.h:197
Grammar_< Iterator, HeadT, Skipper >::Grammar grHead
Definition: Grammars.h:198
ph::function< Operations > op
Definition: Grammars.h:201

Member Data Documentation

◆ grHead

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
Grammar_<Iterator, HeadT, Skipper>::Grammar Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::grHead

Definition at line 198 of file Grammars.h.

◆ grLast

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
TupleInnerGrammar<Iterator, TailT, N - 1, Skipper> Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::grLast

Definition at line 197 of file Grammars.h.

◆ op

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
ph::function<Operations> Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::op

Definition at line 201 of file Grammars.h.

◆ tup

template<typename Iterator, typename TupleT, std::size_t N, typename Skipper>
qi::rule<Iterator, ResultT(), qi::locals<HeadT>, Skipper> Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper >::tup

Definition at line 200 of file Grammars.h.


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