| The Gaudi Framework v29r0 (ff2e7097)

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

template<typename Iterator , typename PairT , typename Skipper >

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

Definition at line 324 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 326 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 328 of file GrammarsV2.h.

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

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

Definition at line 330 of file GrammarsV2.h.

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

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

337 {
338 begin = enc::char_( '(' )[qi::_val = ')'] | enc::char_( '[' )[qi::_val = ']'];
339 end = qi::char_( qi::_r1 );
340 pair = begin[qi::_a = qi::_1] >> pair_in[qi::_val = qi::_1] >> end( qi::_a );
341 pair_in = key >> qi::lit( delimeter ) >> value;
342 }
Gaudi::Parsers::PairGrammar::begin
qi::rule< Iterator, char()> begin
Definition: GrammarsV2.h:346
Gaudi::Parsers::PairGrammar::key
Grammar_< Iterator, typename PairT::first_type, Skipper >::Grammar key
Definition: GrammarsV2.h:344
Gaudi::Parsers::PairGrammar::pair
qi::rule< Iterator, ResultT(), qi::locals< char >, Skipper > pair
Definition: GrammarsV2.h:348
Gaudi::Parsers::PairGrammar::value
Grammar_< Iterator, typename PairT::second_type, Skipper >::Grammar value
Definition: GrammarsV2.h:345
Gaudi::Parsers::PairGrammar::pair_in
qi::rule< Iterator, ResultT(), Skipper > pair_in
Definition: GrammarsV2.h:349
Gaudi::Parsers::PairGrammar::end
qi::rule< Iterator, void(char)> end
Definition: GrammarsV2.h:347

## Member Data Documentation

template<typename Iterator , typename PairT , typename Skipper >

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

Definition at line 346 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 347 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 344 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 348 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 349 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 345 of file GrammarsV2.h.

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

- GaudiKernel/GaudiKernel/GrammarsV2.h