| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

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 <Grammar.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
qi::rule< Iterator, bool(), Skipper > | boolean_literal

## 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 86 of file Grammar.h.

## Member Typedef Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 88 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.

template<typename Iterator , typename Skipper >

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

Definition at line 106 of file Grammars.h.

## Constructor & Destructor Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 90 of file Grammar.h.

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

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];
        }

## Member Data Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 98 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_v23r1/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r1/GaudiKernel/GaudiKernel/Grammars.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r1/GaudiKernel/GaudiKernel/GrammarsV2.h

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