All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Gaudi::Parsers::BoolGrammar< Iterator, Skipper > Class Template Reference

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

#include <src/JobOptionsSvc/Grammar.h>

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

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 Alexa.nosp@m.nder.nosp@m..Mazu.nosp@m.rov@.nosp@m.gmail.nosp@m..com
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2006-05-14

Definition at line 95 of file Grammar.h.

Member Typedef Documentation

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

Definition at line 97 of file Grammar.h.

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 128 of file GrammarsV2.h.

Constructor & Destructor Documentation

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

Definition at line 99 of file Grammar.h.

99  : BoolGrammar::base_type(boolean) {
100  boolean = enc::no_case[
101  qi::lit("true")[qi::_val=true]
102  |
103  qi::lit("false")[qi::_val=false]
104  ];
105  }
template<typename Iterator, typename Skipper>
Gaudi::Parsers::BoolGrammar< Iterator, Skipper >::BoolGrammar ( )
inline

Definition at line 129 of file GrammarsV2.h.

129  : BoolGrammar::base_type( boolean_literal ) {
131  (qi::lit("true") | "True" | "TRUE" | "1")[qi::_val=true]
132  |
133  (qi::lit("false") | "False" | "FALSE" | "0")[qi::_val=false];
134  }
qi::rule< Iterator, bool(), Skipper > boolean_literal
Definition: GrammarsV2.h:135

Member Data Documentation

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

Definition at line 107 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: