| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Member Functions | Public Attributes

# 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 439 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 441 of file Grammars.h.

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

## Member Function Documentation

template<typename GrammarT>
template<typename ScannerT >

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

Definition at line 451 of file Grammars.h.

    { return vec; }

## Member Data Documentation

template<typename GrammarT>
template<typename ScannerT >

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

Definition at line 453 of file Grammars.h.

template<typename GrammarT>
template<typename ScannerT >

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

Definition at line 452 of file Grammars.h.

template<typename GrammarT>
template<typename ScannerT >

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

Definition at line 452 of file Grammars.h.

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

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

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