All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Gaudi::Parsers::IntGrammar< RT > Class Template Reference

The valid representation of integers values are: More...

#include <GaudiKernel/Grammars.h>

Inheritance diagram for Gaudi::Parsers::IntGrammar< RT >:
Collaboration diagram for Gaudi::Parsers::IntGrammar< RT >:

Classes

struct  definition
 

Public Types

typedef RT ResultT
 
typedef RT ResultT
 

Public Member Functions

 IntGrammar ()
 

Public Attributes

qi::rule< Iterator, RT(), Skipperinteger
 

Detailed Description

template<typename RT = int>
class Gaudi::Parsers::IntGrammar< RT >

The valid representation of integers values are:

  • 1, 100, 123
Todo:
implement suffixes u U l L
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 174 of file Grammars.h.

Member Typedef Documentation

template<typename RT = int>
typedef RT Gaudi::Parsers::IntGrammar< RT >::ResultT

Definition at line 142 of file GrammarsV2.h.

template<typename RT = int>
typedef RT Gaudi::Parsers::IntGrammar< RT >::ResultT

Definition at line 181 of file Grammars.h.

Constructor & Destructor Documentation

template<typename RT = int>
Gaudi::Parsers::IntGrammar< RT >::IntGrammar ( )
inline

Definition at line 143 of file GrammarsV2.h.

143  : IntGrammar::base_type( integer ) {
144  integer = qi::int_parser<RT>()[qi::_val = qi::_1]
145  >> -qi::no_case[qi::char_('L')];
146  }
qi::rule< Iterator, RT(), Skipper > integer
Definition: GrammarsV2.h:147

Member Data Documentation

template<typename RT = int>
qi::rule<Iterator, RT(), Skipper> Gaudi::Parsers::IntGrammar< RT >::integer

Definition at line 147 of file GrammarsV2.h.


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