| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper > Struct Template Reference

`#include <GaudiKernel/GrammarsV2.h>`

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

## Classes
struct | first
struct | second

## Public Types
typedef PairT | ResultT
typedef PairT::first_type | first_type
typedef PairT::second_type | second_type

## Public Member Functions
| PairGrammar ()
| PairGrammar (const std::string &delimeter)
void | init (const std::string &delimeter)

## Public Attributes
Grammar_< Iterator, typename PairT::first_type, Skipper >::Grammar | key
Grammar_< Iterator, typename PairT::second_type, Skipper >::Grammar | value
qi::rule< Iterator, char()> | begin
qi::rule< Iterator, void(char)> | end
qi::rule< Iterator, ResultT(), qi::locals< char >, Skipper > | pair
qi::rule< Iterator, ResultT(), Skipper > | pair_in

## Detailed Description

### template<typename Iterator, typename PairT, typename Skipper>
struct Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >

Definition at line 312 of file GrammarsV2.h.

## Member Typedef Documentation

template<typename Iterator , typename PairT , typename Skipper >

typedef PairT::first_type Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::first_type

Definition at line 315 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

typedef PairT Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::ResultT

Definition at line 314 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

typedef PairT::second_type Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::second_type

Definition at line 316 of file GrammarsV2.h.

## Constructor & Destructor Documentation

template<typename Iterator , typename PairT , typename Skipper >

Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::PairGrammar | ( |  | ) |
| inline

Definition at line 318 of file GrammarsV2.h.

318 : PairGrammar::base_type( pair ) { init( "," ); }
Gaudi::Parsers::PairGrammar::init
void init(const std::string &delimeter)
Definition: GrammarsV2.h:326
Gaudi::Parsers::PairGrammar::pair
qi::rule< Iterator, ResultT(), qi::locals< char >, Skipper > pair
Definition: GrammarsV2.h:338
template<typename Iterator , typename PairT , typename Skipper >

Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::PairGrammar | ( | const std::string & | delimeter | ) |
| inline

Definition at line 320 of file GrammarsV2.h.

320 : PairGrammar::base_type( pair ) { init( delimeter ); }
Gaudi::Parsers::PairGrammar::init
void init(const std::string &delimeter)
Definition: GrammarsV2.h:326
Gaudi::Parsers::PairGrammar::pair
qi::rule< Iterator, ResultT(), qi::locals< char >, Skipper > pair
Definition: GrammarsV2.h:338

## Member Function Documentation

template<typename Iterator , typename PairT , typename Skipper >

void Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::init | ( | const std::string & | delimeter | ) |
| inline

Definition at line 326 of file GrammarsV2.h.

327 {
328 begin = enc::char_( '(' )[qi::_val = ')'] | enc::char_( '[' )[qi::_val = ']'];
329 end = qi::char_( qi::_r1 );
330 pair = begin[qi::_a = qi::_1] >> pair_in[qi::_val = qi::_1] >> end( qi::_a );
331 pair_in = key >> qi::lit( delimeter ) >> value;
332 }
Gaudi::Parsers::PairGrammar::begin
qi::rule< Iterator, char()> begin
Definition: GrammarsV2.h:336
Gaudi::Parsers::PairGrammar::key
Grammar_< Iterator, typename PairT::first_type, Skipper >::Grammar key
Definition: GrammarsV2.h:334
Gaudi::Parsers::PairGrammar::pair
qi::rule< Iterator, ResultT(), qi::locals< char >, Skipper > pair
Definition: GrammarsV2.h:338
Gaudi::Parsers::PairGrammar::value
Grammar_< Iterator, typename PairT::second_type, Skipper >::Grammar value
Definition: GrammarsV2.h:335
Gaudi::Parsers::PairGrammar::pair_in
qi::rule< Iterator, ResultT(), Skipper > pair_in
Definition: GrammarsV2.h:339
Gaudi::Parsers::PairGrammar::end
qi::rule< Iterator, void(char)> end
Definition: GrammarsV2.h:337

## Member Data Documentation

template<typename Iterator , typename PairT , typename Skipper >

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

Definition at line 336 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

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

Definition at line 337 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

Grammar_<Iterator, typename PairT::first_type, Skipper>::Grammar Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::key

Definition at line 334 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

qi::rule<Iterator, ResultT(), qi::locals<char>, Skipper> Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::pair

Definition at line 338 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

qi::rule<Iterator, ResultT(), Skipper> Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::pair_in

Definition at line 339 of file GrammarsV2.h.

template<typename Iterator , typename PairT , typename Skipper >

Grammar_<Iterator, typename PairT::second_type, Skipper>::Grammar Gaudi::Parsers::PairGrammar< Iterator, PairT, Skipper >::value

Definition at line 335 of file GrammarsV2.h.

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

- GaudiKernel/GaudiKernel/GrammarsV2.h