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

#include </tmp/marcocle/lhcb-release/1122/GAUDI/GAUDI_v27r0/InstallArea/x86_64-slc6-gcc49-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 489 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 490 of file GrammarsV2.h.

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

Definition at line 490 of file GrammarsV2.h.

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

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 491 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 509 of file GrammarsV2.h.

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

Definition at line 509 of file GrammarsV2.h.

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

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 519 of file GrammarsV2.h.

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

Definition at line 521 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 519 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 520 of file GrammarsV2.h.


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