| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Classes | Public Types | Public Member Functions | Public Attributes

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

The valid represenation of boolean values are: More...

`#include <Grammars.h>`

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

List of all members.

## Classes
struct | definition
## Public Types
typedef bool | ResultT
typedef bool | ResultT
typedef bool | ResultT
## Public Member Functions
| BoolGrammar ()
| BoolGrammar ()
## Public Attributes
qi::rule< Iterator, bool(), Skipper > | boolean_literal
qi::rule< Iterator, bool(), Skipper > | boolean

## Detailed Description

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

The valid represenation of boolean values are:

- true , True , TRUE or 1
- false , False , FALSE or 0

Author:
  Alexander MAZUROV Alexander.Mazurov@gmail.com
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2006-05-14

Definition at line 99 of file Grammars.h.

## Member Typedef Documentation

template<typename Iterator , typename Skipper >

typedef bool Gaudi::Parsers::BoolGrammar< Iterator, Skipper >::ResultT

Definition at line 106 of file Grammars.h.

template<typename Iterator , typename Skipper >

typedef bool Gaudi::Parsers::BoolGrammar< Iterator, Skipper >::ResultT

Definition at line 85 of file Grammar.h.

template<typename Iterator , typename Skipper >

typedef bool Gaudi::Parsers::BoolGrammar< Iterator, Skipper >::ResultT

Definition at line 128 of file GrammarsV2.h.

## Constructor & Destructor Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 129 of file GrammarsV2.h.

                      : BoolGrammar::base_type( boolean_literal ) {
            boolean_literal =
                (qi::lit("true") | "True" | "TRUE" | "1")[qi::_val=true]
                |
                (qi::lit("false") | "False" | "FALSE" | "0")[qi::_val=false];
        }

template<typename Iterator , typename Skipper >

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

Definition at line 87 of file Grammar.h.

                      : qi::grammar<Iterator, bool(), Skipper> {
    // ----------------------------------------------------------------------------

## Member Data Documentation

template<typename Iterator , typename Skipper >

qi::rule<Iterator, bool(), Skipper> Gaudi::Parsers::BoolGrammar< Iterator, Skipper >::boolean

Definition at line 95 of file Grammar.h.

template<typename Iterator , typename Skipper >

qi::rule<Iterator, bool(), Skipper> Gaudi::Parsers::BoolGrammar< Iterator, Skipper >::boolean_literal

Definition at line 135 of file GrammarsV2.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiKernel/GaudiKernel/Grammars.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiKernel/GaudiKernel/GrammarsV2.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiSvc/src/JobOptionsSvc/Grammar.h

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