| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions | Public Attributes

# 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.

            {

              x  = !( ( str_p("x") | "X" | "pX" | "Px" | "PX" ) && ':' )
                >> scalar [ boost::bind(&Pnt4DGrammar::matchX,&self,_1) ]  ;
              y  = !( ( str_p("y") | "Y" | "pY" | "Py" | "PY" ) && ':' )
                >> scalar [ boost::bind(&Pnt4DGrammar::matchY,&self,_1) ]  ;
              z  =  !( ( str_p("z") | "Z" | "pZ" | "Pz" | "PZ" ) && ':' )
                >> scalar [ boost::bind(&Pnt4DGrammar::matchZ,&self,_1) ]  ;
              e  =  !( ( str_p("t") | "T" | "e"  | "E"         ) && ':' )
                >> scalar [ boost::bind(&Pnt4DGrammar::matchT,&self,_1) ] ;

              p3 = x >> ',' >> y >> ',' >> z ;

              inner =
                (                p3        >> ( str_p(',') | ';' ) >> e ) |
                ( str_p("(") >>  p3 >> ')' >> ( str_p(',') | ';' ) >> e ) |
                ( str_p("[") >>  p3 >> ']' >> ( str_p(',') | ';' ) >> e ) |
                ( e >> ( str_p(",") | ';') >>  '(' >> p3 >> ')'         ) |
                ( e >> ( str_p(",") | ';') >>  '[' >> p3 >> ']'         ) ;

              pnt =
                ( str_p ("(") >>  inner >> ')' ) |
                ( str_p ("[") >>  inner >> ']' ) ;

            }

## 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.

    { return pnt ; }

## Member Data Documentation

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 >::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 >::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 >::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.

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.

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

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

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