| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes | List of all members
Gaudi::Parsers::H2Grammar< Iterator, Skipper > Class Template Reference
Inheritance diagram for Gaudi::Parsers::H2Grammar< Iterator, Skipper >:
[legend]
Collaboration diagram for Gaudi::Parsers::H2Grammar< Iterator, Skipper >:
[legend]

## Public Types
typedef H2 | ResultT

## Public Member Functions
| H2Grammar ()

## Public Attributes
StringGrammar< Iterator, Skipper > | name
StringGrammar< Iterator, Skipper > | title
EdgeGrammar< Iterator, Skipper > | edges
VectorGrammar< Iterator, std::vector< std::pair< double, double > >, Skipper > | bins
qi::rule< Iterator, H2(), qi::locals< char >, Skipper > | result
qi::rule< Iterator, H2(), Skipper > | inner
qi::rule< Iterator, char()> | begin
qi::rule< Iterator, void(char)> | end

## Detailed Description

### template<typename Iterator, typename Skipper>
class Gaudi::Parsers::H2Grammar< Iterator, Skipper >

Definition at line 154 of file HistoParsers.cpp.

## Member Typedef Documentation

template<typename Iterator , typename Skipper >

typedef H2 Gaudi::Parsers::H2Grammar< Iterator, Skipper >::ResultT

Definition at line 160 of file HistoParsers.cpp.

## Constructor & Destructor Documentation

template<typename Iterator , typename Skipper >

Gaudi::Parsers::H2Grammar< Iterator, Skipper >::H2Grammar | ( |  | ) |
| inline

Definition at line 164 of file HistoParsers.cpp.

164 : H2Grammar::base_type(result) {
165 inner =
166 ((( qi::lit("name") | "'name'" | "\"name\"" )
167 >> ":" >> name [qi::_val *= qi::_1])
168 |
169 (( qi::lit("title") | "'title'" | "\"title\"" )
170 >> ":" >> title [qi::_val /= qi::_1])
171 |
172 (( qi::lit("X") | "'X'" | "\"X\"" | "x" | "'x'" | "\"x\"" ) >> ':'
173 >> edges [qi::_val &= qi::_1 ])
174 |
175 (( qi::lit("Y") | "'Y'" | "\"Y\"" | "y" | "'y'" | "\"y\"" ) >> ':'
176 >> edges [qi::_val |= qi::_1 ])
177 |
178 (( qi::lit("bins") | "'bins'" | "\"bins\"" )
179 >> ':' >> bins [ qi::_val += qi::_1 ])) % ',';
180
181 begin = enc::char_('[')[qi::_val=']']
182 | enc::char_('{')[qi::_val='}']
183 | enc::char_('(')[qi::_val=')'];
184 end = enc::char_(qi::_r1);
185 result = (begin[qi::_a = qi::_1]
186 >> inner[qi::_val = qi::_1]
187 >> end(qi::_a)) | inner[qi::_val = qi::_1];
188 }
Gaudi::Parsers::H2Grammar::edges
EdgeGrammar< Iterator, Skipper > edges
Definition: HistoParsers.cpp:191
Gaudi::Parsers::H2Grammar::end
qi::rule< Iterator, void(char)> end
Definition: HistoParsers.cpp:197
Gaudi::Parsers::H2Grammar::inner
qi::rule< Iterator, H2(), Skipper > inner
Definition: HistoParsers.cpp:195
Gaudi::Parsers::H2Grammar::begin
qi::rule< Iterator, char()> begin
Definition: HistoParsers.cpp:196
Gaudi::Parsers::H2Grammar::title
StringGrammar< Iterator, Skipper > title
Definition: HistoParsers.cpp:190
Gaudi::Parsers::H2Grammar::name
StringGrammar< Iterator, Skipper > name
Definition: HistoParsers.cpp:190
Gaudi::Parsers::H2Grammar::result
qi::rule< Iterator, H2(), qi::locals< char >, Skipper > result
Definition: HistoParsers.cpp:194
Gaudi::Parsers::H2Grammar::bins
VectorGrammar< Iterator, std::vector< std::pair< double, double > >, Skipper > bins
Definition: HistoParsers.cpp:193

## Member Data Documentation

template<typename Iterator , typename Skipper >

qi::rule<Iterator, char()> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::begin

Definition at line 196 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

VectorGrammar<Iterator, std::vector<std::pair<double, double> >, Skipper> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::bins

Definition at line 193 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

EdgeGrammar<Iterator, Skipper> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::edges

Definition at line 191 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

qi::rule<Iterator, void(char)> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::end

Definition at line 197 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

qi::rule<Iterator, H2(), Skipper> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::inner

Definition at line 195 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

StringGrammar<Iterator, Skipper> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::name

Definition at line 190 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

qi::rule<Iterator, H2(), qi::locals<char>, Skipper> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::result

Definition at line 194 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

StringGrammar<Iterator, Skipper> Gaudi::Parsers::H2Grammar< Iterator, Skipper >::title

Definition at line 190 of file HistoParsers.cpp.

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

- GaudiUtils/src/Lib/HistoParsers.cpp