The Gaudi Framework  master (37c0b60a)
Gaudi::Parsers::EdgeGrammar< Iterator, Skipper > Class Template Reference
Inheritance diagram for Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >:
Collaboration diagram for Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >:

Public Types

typedef Edges ResultT
 

Public Member Functions

 EdgeGrammar ()
 

Public Attributes

VectorGrammar< Iterator, std::vector< double >, Skipperedges
 
RealGrammar< Iterator, double, Skipperlow
 
RealGrammar< Iterator, double, Skipperhigh
 
IntGrammar< Iterator, unsigned int, Skippernbins
 
qi::rule< Iterator, Edges(), qi::locals< char >, Skipperresult
 
qi::rule< Iterator, Edges(), Skipperinner
 
qi::rule< Iterator, Edges(), Skipperinner_pairs
 
qi::rule< Iterator, char()> begin
 
qi::rule< Iterator, void(char)> end
 

Detailed Description

template<typename Iterator, typename Skipper>
class Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >

Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
Date
2009-09-26

Definition at line 58 of file HistoParsers.cpp.

Member Typedef Documentation

◆ ResultT

template<typename Iterator , typename Skipper >
typedef Edges Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::ResultT

Definition at line 62 of file HistoParsers.cpp.

Constructor & Destructor Documentation

◆ EdgeGrammar()

template<typename Iterator , typename Skipper >
Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::EdgeGrammar ( )
inline

Definition at line 66 of file HistoParsers.cpp.

66  : EdgeGrammar::base_type( result ) {
67  inner = ( ( qi::lit( "edges" ) | "'edges'" | "\"edges\"" ) >> ":" >> edges[qi::_val *= qi::_1] ) |
68  inner_pairs[qi::_val = qi::_1];
69  inner_pairs = ( ( ( qi::lit( "nbins" ) | "'nbins'" | "\"nbins\"" ) >> ":" >> nbins[qi::_val /= qi::_1] ) |
70  ( ( qi::lit( "low" ) | "'low'" | "\"low\"" ) >> ":" >> low[qi::_val -= qi::_1] ) |
71  ( ( qi::lit( "high" ) | "'high'" | "\"high\"" ) >> ":" >> high[qi::_val += qi::_1] ) ) %
72  ',';
73 
74  begin =
75  enc::char_( '[' )[qi::_val = ']'] | enc::char_( '{' )[qi::_val = '}'] | enc::char_( '(' )[qi::_val = ')'];
76  end = enc::char_( qi::_r1 );
77  result = begin[qi::_a = qi::_1] >> inner[qi::_val = qi::_1] >> end( qi::_a );
78  }

Member Data Documentation

◆ begin

template<typename Iterator , typename Skipper >
qi::rule<Iterator, char()> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::begin

Definition at line 84 of file HistoParsers.cpp.

◆ edges

template<typename Iterator , typename Skipper >
VectorGrammar<Iterator, std::vector<double>, Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::edges

Definition at line 79 of file HistoParsers.cpp.

◆ end

template<typename Iterator , typename Skipper >
qi::rule<Iterator, void( char )> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::end

Definition at line 85 of file HistoParsers.cpp.

◆ high

template<typename Iterator , typename Skipper >
RealGrammar<Iterator, double, Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::high

Definition at line 80 of file HistoParsers.cpp.

◆ inner

template<typename Iterator , typename Skipper >
qi::rule<Iterator, Edges(), Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::inner

Definition at line 83 of file HistoParsers.cpp.

◆ inner_pairs

template<typename Iterator , typename Skipper >
qi::rule<Iterator, Edges(), Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::inner_pairs

Definition at line 83 of file HistoParsers.cpp.

◆ low

template<typename Iterator , typename Skipper >
RealGrammar<Iterator, double, Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::low

Definition at line 80 of file HistoParsers.cpp.

◆ nbins

template<typename Iterator , typename Skipper >
IntGrammar<Iterator, unsigned int, Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::nbins

Definition at line 81 of file HistoParsers.cpp.

◆ result

template<typename Iterator , typename Skipper >
qi::rule<Iterator, Edges(), qi::locals<char>, Skipper> Gaudi::Parsers::EdgeGrammar< Iterator, Skipper >::result

Definition at line 82 of file HistoParsers.cpp.


The documentation for this class was generated from the following file:
Gaudi::Parsers::EdgeGrammar::edges
VectorGrammar< Iterator, std::vector< double >, Skipper > edges
Definition: HistoParsers.cpp:79
Gaudi::Parsers::EdgeGrammar::high
RealGrammar< Iterator, double, Skipper > high
Definition: HistoParsers.cpp:80
Gaudi::Parsers::EdgeGrammar::end
qi::rule< Iterator, void(char)> end
Definition: HistoParsers.cpp:85
Gaudi::Parsers::EdgeGrammar::inner_pairs
qi::rule< Iterator, Edges(), Skipper > inner_pairs
Definition: HistoParsers.cpp:83
Gaudi::Parsers::EdgeGrammar::begin
qi::rule< Iterator, char()> begin
Definition: HistoParsers.cpp:84
Gaudi::Parsers::EdgeGrammar::nbins
IntGrammar< Iterator, unsigned int, Skipper > nbins
Definition: HistoParsers.cpp:81
Gaudi::Parsers::EdgeGrammar::inner
qi::rule< Iterator, Edges(), Skipper > inner
Definition: HistoParsers.cpp:83
Gaudi::Parsers::EdgeGrammar::low
RealGrammar< Iterator, double, Skipper > low
Definition: HistoParsers.cpp:80
Gaudi::Parsers::EdgeGrammar::result
qi::rule< Iterator, Edges(), qi::locals< char >, Skipper > result
Definition: HistoParsers.cpp:82