All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper > Struct Template Reference

#include </scratch/z5/marcocle/lhcb-release/419/GAUDI/GAUDI_v26r1/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(),
Skipper
point
 
qi::rule< Iterator, ResultT(),
Skipper
list
 
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 364 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 365 of file GrammarsV2.h.

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

Definition at line 365 of file GrammarsV2.h.

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

Definition at line 366 of file GrammarsV2.h.

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

Definition at line 366 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 384 of file GrammarsV2.h.

: Pnt3DGrammar::base_type(point) {
point = list | ('(' >> list >> ')') | ('[' >> list >> ']');
list = -(enc::no_case[qi::lit("x") | qi::lit("px")] >> ':')
>> scalar[op(qi::_val,qi::_1,'x')] >>
',' >> -(enc::no_case[qi::lit("y") | qi::lit("py")] >> ':')
>> scalar[op(qi::_val,qi::_1,'y')] >>
',' >> -(enc::no_case[qi::lit("z") | qi::lit("pz")] >> ':')
>> scalar[op(qi::_val,qi::_1,'z')];
}
template<typename Iterator , typename PointT , typename Skipper >
Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper >::Pnt3DGrammar ( )
inline

Definition at line 384 of file GrammarsV2.h.

: Pnt3DGrammar::base_type(point) {
point = list | ('(' >> list >> ')') | ('[' >> list >> ']');
list = -(enc::no_case[qi::lit("x") | qi::lit("px")] >> ':')
>> scalar[op(qi::_val,qi::_1,'x')] >>
',' >> -(enc::no_case[qi::lit("y") | qi::lit("py")] >> ':')
>> scalar[op(qi::_val,qi::_1,'y')] >>
',' >> -(enc::no_case[qi::lit("z") | qi::lit("pz")] >> ':')
>> scalar[op(qi::_val,qi::_1,'z')];
}

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

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

Definition at line 396 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 394 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 395 of file GrammarsV2.h.


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