Gaudi Framework, version v21r11

Home   Generated: 30 Sep 2010

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

#include <GrammarsForVectors.h>

List of all members.

Public Member Functions

 definition (Pnt3DGrammar const &self)
rule< ScannerT > const & start () const
 MANDATORY method:.

Public Attributes

rule< ScannerT > pnt
rule< ScannerT > inner
ScalarGrammarT scalar


Detailed Description

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

Definition at line 55 of file GrammarsForVectors.h.


Constructor & Destructor Documentation

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>
Gaudi::Parsers::Pnt3DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::definition ( Pnt3DGrammar const &  self  )  [inline]

Definition at line 57 of file GrammarsForVectors.h.

00058         {
00059           
00060           inner = 
00061             !( ( str_p("x") | "X" | "pX" | "Px" | "PX" ) >> ':' )  >> 
00062             scalar [ boost::bind(&Pnt3DGrammar::matchX,&self,_1) ] >> 
00063             ',' >> 
00064             !( ( str_p("y") | "Y" | "pY" | "Py" | "PY" ) >> ':' )  >> 
00065             scalar [ boost::bind(&Pnt3DGrammar::matchY,&self,_1) ] >>
00066             ',' >> 
00067             !( ( str_p("z") | "Z" | "pZ" | "Pz" | "PZ" ) >> ':' )  >> 
00068             scalar [ boost::bind(&Pnt3DGrammar::matchZ,&self,_1) ] ;
00069           
00070           pnt = 
00071             ( str_p ("(") >> inner >> ')' ) | 
00072             ( str_p ("[") >> inner >> ']' ) ;
00073 
00074         }


Member Function Documentation

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>
rule<ScannerT> const& Gaudi::Parsers::Pnt3DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::start (  )  const [inline]

MANDATORY method:.

Definition at line 76 of file GrammarsForVectors.h.

00076 { return pnt ; }


Member Data Documentation

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>
rule<ScannerT> Gaudi::Parsers::Pnt3DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::pnt

Definition at line 78 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>
rule<ScannerT> Gaudi::Parsers::Pnt3DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::inner

Definition at line 78 of file GrammarsForVectors.h.

template<class ScalarGrammarT, class POINT>
template<typename ScannerT>
ScalarGrammarT Gaudi::Parsers::Pnt3DGrammar< ScalarGrammarT, POINT >::definition< ScannerT >::scalar

Definition at line 79 of file GrammarsForVectors.h.


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

Generated at Thu Sep 30 09:58:55 2010 for Gaudi Framework, version v21r11 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004