| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT > Struct Template Reference

`#include <Grammars.h>`

List of all members.

## Public Member Functions
| definition (SelfT const &self)
rule< ScannerT > const & | start () const
## Public Attributes
rule< ScannerT > | vec
rule< ScannerT > | inner
GrammarT | gr

## Detailed Description

### template<typename GrammarT>
template<typename ScannerT>
struct Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT >

Definition at line 434 of file Grammars.h.

## Constructor & Destructor Documentation

template<typename GrammarT>
template<typename ScannerT >

Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT >::definition | ( | SelfT const & | self | ) | `[inline]`

Definition at line 436 of file Grammars.h.

    00437         {
    00438           inner =
    00439             !(gr[boost::bind(&VectorGrammar::matchItem,&self,_1)]
    00440               >> *(','>>gr[boost::bind(&VectorGrammar::matchItem,&self,_1)]));
    00441           vec =
    00442             '[' >> inner >> ']' |  // a'la python list
    00443             '(' >> inner >> ')' |  // a'la python tuple
    00444             '{' >> inner >> '}' ;  // like obsolete list from opts-grammar
    00445         }

## Member Function Documentation

template<typename GrammarT>
template<typename ScannerT >

rule<ScannerT> const& Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT >::start | ( |  | ) | const`[inline]`

Definition at line 446 of file Grammars.h.

    00446 { return vec; }

## Member Data Documentation

template<typename GrammarT>
template<typename ScannerT >

GrammarT Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT >::gr

Definition at line 448 of file Grammars.h.

template<typename GrammarT>
template<typename ScannerT >

rule<ScannerT> Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT >::inner

Definition at line 447 of file Grammars.h.

template<typename GrammarT>
template<typename ScannerT >

rule<ScannerT> Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT >::vec

Definition at line 447 of file Grammars.h.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines