Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012
Classes | Public Types | Public Member Functions | Public Attributes

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

#include <GrammarsV2.h>

Inheritance diagram for Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >:
Inheritance graph
[legend]
Collaboration diagram for Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >:
Collaboration graph
[legend]

List of all members.

Classes

struct  Operations

Public Types

typedef PointT ResultT
typedef PointT::Scalar ScalarT

Public Member Functions

 Pnt4DGrammar ()

Public Attributes

qi::rule< Iterator, ResultT(),
Skipper
point3d
qi::rule< Iterator, ResultT(),
Skipper
point4d
qi::rule< Iterator, ResultT(),
Skipper
list3d
qi::rule< Iterator, ResultT(),
Skipper
list4d
qi::rule< Iterator, ScalarT(),
Skipper
e
Grammar_< Iterator, ScalarT,
Skipper >::Grammar 
scalar
ph::function< Operationsop

Detailed Description

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

Definition at line 419 of file GrammarsV2.h.


Member Typedef Documentation

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

Definition at line 421 of file GrammarsV2.h.

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

Definition at line 422 of file GrammarsV2.h.


Constructor & Destructor Documentation

template<typename Iterator , typename PointT , typename Skipper >
Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Pnt4DGrammar (  ) [inline]

Definition at line 447 of file GrammarsV2.h.

                   : Pnt4DGrammar::base_type(point4d) {
        point4d = list4d | ('(' >> list4d >> ')') | ('[' >> list4d >> ']');
        list4d = (point3d[op(qi::_val,qi::_1)] >> enc::char_(";,")
            >> e[op(qi::_val, qi::_1, 'e')])
            |
            (e[op(qi::_val,qi::_1, 'e')] >> enc::char_(";,")
                >> point3d[op(qi::_val, qi::_1)]);
        e =  -(enc::no_case[enc::char_("te")]  >> ':')
            >> scalar[qi::_val = qi::_1];

        point3d = list3d | ('(' >> list3d >> ')') | ('[' >> list3d >> ']');
        list3d = -(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, ScalarT(), Skipper> Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::e

Definition at line 468 of file GrammarsV2.h.

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

Definition at line 466 of file GrammarsV2.h.

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

Definition at line 466 of file GrammarsV2.h.

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

Definition at line 470 of file GrammarsV2.h.

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

Definition at line 466 of file GrammarsV2.h.

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

Definition at line 466 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >
Grammar_<Iterator, ScalarT, Skipper>::Grammar Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::scalar

Definition at line 469 of file GrammarsV2.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Sep 17 2012 13:49:56 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004