| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT > Struct Template Reference

`#include <Grammars.h>`

List of all members.

## Public Member Functions
| definition (PairGrammar const &self)
rule< ScannerT > const & | start () const
## Public Attributes
rule< ScannerT > | para
KeyGrammarT | grkey
ValueGrammarT | grvalue

## Detailed Description

### template<typename KeyGrammarT, typename ValueGrammarT>
template<typename ScannerT>
struct Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT >

Definition at line 378 of file Grammars.h.

## Constructor & Destructor Documentation

template<typename KeyGrammarT, typename ValueGrammarT>
template<typename ScannerT>

Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT >::definition | ( | PairGrammar const & | self | ) | `[inline]`

Definition at line 380 of file Grammars.h.

    00381         {
    00382           para
    00383             = (
    00384                str_p("(")
    00385                >> (grkey[boost::bind(&PairGrammar::matchFirst,&self,_1)])
    00386                >> self.delim().c_str()
    00387                >> (grvalue[boost::bind(&PairGrammar::matchSecond,&self,_1)])
    00388                >> str_p(")")
    00389                ) ;
    00390         }

## Member Function Documentation

template<typename KeyGrammarT, typename ValueGrammarT>
template<typename ScannerT>

rule<ScannerT> const& Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT >::start | ( |  | ) | const`[inline]`

Definition at line 391 of file Grammars.h.

    00391 { return para; }

## Member Data Documentation

template<typename KeyGrammarT, typename ValueGrammarT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT >::para

Definition at line 392 of file Grammars.h.

template<typename KeyGrammarT, typename ValueGrammarT>
template<typename ScannerT>

KeyGrammarT Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT >::grkey

Definition at line 393 of file Grammars.h.

template<typename KeyGrammarT, typename ValueGrammarT>
template<typename ScannerT>

ValueGrammarT Gaudi::Parsers::PairGrammar< KeyGrammarT, ValueGrammarT >::definition< ScannerT >::grvalue

Definition at line 394 of file Grammars.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r11/GaudiKernel/GaudiKernel/Grammars.h