The Gaudi Framework  v36r9 (fd2bdac3)
Gaudi::Parsers::TupleInnerGrammar< Iterator, TupleT, N, Skipper > Struct Template Reference

#include </builds/gaudi/Gaudi/GaudiKernel/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 188 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 193 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 191 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 192 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 204 of file Grammars.h.

204  : TupleInnerGrammar::base_type( tup ) {
205  tup = grHead[qi::_a = qi::_1] >> ',' >> grLast[op( qi::_val, qi::_a, qi::_1 )];
206  }

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 209 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 208 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 212 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 211 of file Grammars.h.


The documentation for this struct was generated from the following file:
Gaudi::Parsers::TupleInnerGrammar::op
ph::function< Operations > op
Definition: Grammars.h:212
Gaudi::Parsers::TupleInnerGrammar::grLast
TupleInnerGrammar< Iterator, TailT, N - 1, Skipper > grLast
Definition: Grammars.h:208
Gaudi::Parsers::TupleInnerGrammar::grHead
Grammar_< Iterator, HeadT, Skipper >::Grammar grHead
Definition: Grammars.h:209
Gaudi::Parsers::TupleInnerGrammar::tup
qi::rule< Iterator, ResultT(), qi::locals< HeadT >, Skipper > tup
Definition: Grammars.h:211