| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT > Struct Template Reference

`#include <GrammarsForVectors.h>`

List of all members.

## Public Member Functions
| definition (Pnt4DGrammar const &self)
rule< ScannerT > const & | start () const
| MANDATORY method:.
## Public Attributes
rule< ScannerT > | x
rule< ScannerT > | y
rule< ScannerT > | z
rule< ScannerT > | e
rule< ScannerT > | p3
rule< ScannerT > | inner
rule< ScannerT > | pnt
ScalarGrammarT | scalar

## Detailed Description

### template<class ScalarGrammarT, class POINT>
template<typename ScannerT>
struct Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >

Definition at line 115 of file GrammarsForVectors.h.

## Constructor & Destructor Documentation

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::definition | ( | Pnt4DGrammar const & | self | ) | `[inline]`

Definition at line 117 of file GrammarsForVectors.h.

    00118         {
    00119
    00120           x  = !( ( str_p("x") | "X" | "pX" | "Px" | "PX" ) && ':' )
    00121             >> scalar [ boost::bind(&Pnt4DGrammar::matchX,&self,_1) ]  ;
    00122           y  = !( ( str_p("y") | "Y" | "pY" | "Py" | "PY" ) && ':' )
    00123             >> scalar [ boost::bind(&Pnt4DGrammar::matchY,&self,_1) ]  ;
    00124           z  =  !( ( str_p("z") | "Z" | "pZ" | "Pz" | "PZ" ) && ':' )
    00125             >> scalar [ boost::bind(&Pnt4DGrammar::matchZ,&self,_1) ]  ;
    00126           e  =  !( ( str_p("t") | "T" | "e"  | "E"         ) && ':' )
    00127             >> scalar [ boost::bind(&Pnt4DGrammar::matchT,&self,_1) ] ;
    00128
    00129           p3 = x >> ',' >> y >> ',' >> z ;
    00130
    00131           inner =
    00132             (                p3        >> ( str_p(',') | ';' ) >> e ) |
    00133             ( str_p("(") >>  p3 >> ')' >> ( str_p(',') | ';' ) >> e ) |
    00134             ( str_p("[") >>  p3 >> ']' >> ( str_p(',') | ';' ) >> e ) |
    00135             ( e >> ( str_p(",") | ';') >>  '(' >> p3 >> ')'         ) |
    00136             ( e >> ( str_p(",") | ';') >>  '[' >> p3 >> ']'         ) ;
    00137
    00138           pnt =
    00139             ( str_p ("(") >>  inner >> ')' ) |
    00140             ( str_p ("[") >>  inner >> ']' ) ;
    00141
    00142         }

## Member Function Documentation

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> const& Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::start | ( |  | ) | const`[inline]`

MANDATORY method:.

Definition at line 144 of file GrammarsForVectors.h.

    00144 { return pnt ; }

## Member Data Documentation

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::x

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::y

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::z

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::e

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::p3

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::inner

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

rule<ScannerT> Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::pnt

Definition at line 146 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>

ScalarGrammarT Gaudi::Parsers::Pnt4DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::scalar

Definition at line 147 of file GrammarsForVectors.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiKernel/GaudiKernel/GrammarsForVectors.h