Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper > Struct Template Reference

#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/GrammarsV2.h>

Inheritance diagram for Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >:
Collaboration diagram for Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >:

Classes

struct  Operations
 

Public Types

typedef PointT ResultT
 
typedef PointT::Scalar Scalar
 
typedef PointT ResultT
 
typedef PointT::Scalar Scalar
 

Public Member Functions

 Pnt3DGrammar ()
 
 Pnt3DGrammar ()
 

Public Attributes

qi::rule< Iterator, ResultT(), Skipperpoint
 
qi::rule< Iterator, ResultT(), Skipperlist
 
Grammar_< Iterator, Scalar, Skipper >::Grammar scalar
 
ph::function< Operationsop
 

Detailed Description

template<typename Iterator, typename PointT, typename Skipper>
struct Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >

Definition at line 490 of file GrammarsV2.h.

Member Typedef Documentation

template<typename Iterator , typename PointT , typename Skipper >
typedef PointT Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::ResultT

Definition at line 491 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
typedef PointT Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::ResultT

Definition at line 491 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
typedef PointT::Scalar Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::Scalar

Definition at line 492 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
typedef PointT::Scalar Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::Scalar

Definition at line 492 of file GrammarsV2.h.

Constructor & Destructor Documentation

template<typename Iterator , typename PointT , typename Skipper >
Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::Pnt3DGrammar ( )
inline

Definition at line 510 of file GrammarsV2.h.

510  : Pnt3DGrammar::base_type(point) {
511  point = list | ('(' >> list >> ')') | ('[' >> list >> ']');
512  list = -(enc::no_case[qi::lit("x") | qi::lit("px")] >> ':')
513  >> scalar[op(qi::_val,qi::_1,'x')] >>
514  ',' >> -(enc::no_case[qi::lit("y") | qi::lit("py")] >> ':')
515  >> scalar[op(qi::_val,qi::_1,'y')] >>
516  ',' >> -(enc::no_case[qi::lit("z") | qi::lit("pz")] >> ':')
517  >> scalar[op(qi::_val,qi::_1,'z')];
518  }
ph::function< Operations > op
Definition: GrammarsV2.h:522
qi::rule< Iterator, ResultT(), Skipper > point
Definition: GrammarsV2.h:520
qi::rule< Iterator, ResultT(), Skipper > list
Definition: GrammarsV2.h:520
Grammar_< Iterator, Scalar, Skipper >::Grammar scalar
Definition: GrammarsV2.h:521
template<typename Iterator , typename PointT , typename Skipper >
Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::Pnt3DGrammar ( )
inline

Definition at line 510 of file GrammarsV2.h.

510  : Pnt3DGrammar::base_type(point) {
511  point = list | ('(' >> list >> ')') | ('[' >> list >> ']');
512  list = -(enc::no_case[qi::lit("x") | qi::lit("px")] >> ':')
513  >> scalar[op(qi::_val,qi::_1,'x')] >>
514  ',' >> -(enc::no_case[qi::lit("y") | qi::lit("py")] >> ':')
515  >> scalar[op(qi::_val,qi::_1,'y')] >>
516  ',' >> -(enc::no_case[qi::lit("z") | qi::lit("pz")] >> ':')
517  >> scalar[op(qi::_val,qi::_1,'z')];
518  }
ph::function< Operations > op
Definition: GrammarsV2.h:522
qi::rule< Iterator, ResultT(), Skipper > point
Definition: GrammarsV2.h:520
qi::rule< Iterator, ResultT(), Skipper > list
Definition: GrammarsV2.h:520
Grammar_< Iterator, Scalar, Skipper >::Grammar scalar
Definition: GrammarsV2.h:521

Member Data Documentation

template<typename Iterator , typename PointT , typename Skipper >
qi::rule< Iterator, ResultT(), Skipper > Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::list

Definition at line 520 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
ph::function< Operations > Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::op

Definition at line 522 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
qi::rule< Iterator, ResultT(), Skipper > Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::point

Definition at line 520 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
Grammar_< Iterator, Scalar, Skipper >::Grammar Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::scalar

Definition at line 521 of file GrammarsV2.h.


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