| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Public Types | Public Member Functions | Public Attributes

# Gaudi::Parsers::H1Grammar< Iterator, Skipper > Class Template Reference

Inheritance diagram for Gaudi::Parsers::H1Grammar< Iterator, Skipper >:
[legend]
Collaboration diagram for Gaudi::Parsers::H1Grammar< Iterator, Skipper >:
[legend]

List of all members.

## Public Types
typedef H1 | ResultT
## Public Member Functions
| H1Grammar ()
## Public Attributes
StringGrammar< Iterator, Skipper > | name
StringGrammar< Iterator, Skipper > | title
EdgeGrammar< Iterator, Skipper > | edges
RealGrammar< Iterator, double, Skipper > | low
RealGrammar< Iterator, double, Skipper > | high
IntGrammar< Iterator, unsigned int, Skipper > | nbins
VectorGrammar< Iterator, std::vector< std::pair< double, double > >, Skipper > | bins
qi::rule< Iterator, H1(), qi::locals< char >, Skipper > | result
qi::rule< Iterator, H1(), Skipper > | inner
qi::rule< Iterator, char()> | begin
qi::rule< Iterator, void(char)> | end

## Detailed Description

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

Definition at line 94 of file HistoParsers.cpp.

## Member Typedef Documentation

template<typename Iterator , typename Skipper >

typedef H1 Gaudi::Parsers::H1Grammar< Iterator, Skipper >::ResultT

Definition at line 100 of file HistoParsers.cpp.

## Constructor & Destructor Documentation

template<typename Iterator , typename Skipper >

Gaudi::Parsers::H1Grammar< Iterator, Skipper >::H1Grammar | ( | ) | `[inline]`

Definition at line 104 of file HistoParsers.cpp.

              :
          // ======================================================================
          H1Grammar(): H1Grammar::base_type(result) {
              inner =
                (((qi::lit("name")  | "'name'"  | "\"name\""  )
                >> ":" >> name[qi::_val *= qi::_1 ])
                |
                (( qi::lit("title") | "'title'" | "\"title\"" )
                >> ":" >> title  [ qi::_val /= qi::_1 ])
                |
                (( qi::lit("X") | "'X'" | "\"X\"" | "x" | "'x'" | "\"x\"" ) >> ':'
                >> edges [ qi::_val &= qi::_1 ])
                |
                (( qi::lit("nbins")  | "'nbins'"  | "\"nbins\""  )
                   >> ":" >> nbins [qi::_val  |= qi::_1])
                |
                (( qi::lit("low")    | "'low'"    | "\"low\""    )
                   >> ":" >> low   [qi::_val  -= qi::_1])
                |
                (( qi::lit("high")   | "'high'"   | "\"high\""   )
                   >> ":" >> high  [qi::_val ^= qi::_1])
                |
                (( qi::lit("bins") | "'bins'" | "\"bins\"" )
                >> ':' >> bins  [qi::_val += qi::_1])) % ',';

               begin = enc::char_('[')[qi::_val=']']
                     | enc::char_('{')[qi::_val='}']
                     | enc::char_('(')[qi::_val=')'];
               end = enc::char_(qi::_r1);

## Member Data Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 146 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

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

Definition at line 143 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

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

Definition at line 138 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

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

Definition at line 147 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

RealGrammar<Iterator, double, Skipper> Gaudi::Parsers::H1Grammar< Iterator, Skipper >::high

Definition at line 139 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

qi::rule<Iterator, H1(), Skipper> Gaudi::Parsers::H1Grammar< Iterator, Skipper >::inner

Definition at line 145 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

RealGrammar<Iterator, double, Skipper> Gaudi::Parsers::H1Grammar< Iterator, Skipper >::low

Definition at line 139 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

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

Definition at line 137 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

IntGrammar<Iterator, unsigned int, Skipper> Gaudi::Parsers::H1Grammar< Iterator, Skipper >::nbins

Definition at line 140 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

qi::rule<Iterator, H1(), qi::locals<char>, Skipper> Gaudi::Parsers::H1Grammar< Iterator, Skipper >::result

Definition at line 144 of file HistoParsers.cpp.

template<typename Iterator , typename Skipper >

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

Definition at line 137 of file HistoParsers.cpp.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r1/GaudiUtils/src/Lib/HistoParsers.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines