| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Gaudi::Parsers::VectorGrammar< GrammarT >::definition< ScannerT > Struct Template Reference

`#include <Grammars.h>`

## 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_v25r0/GaudiKernel/GaudiKernel/Grammars.h