| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 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 >:
[legend]
Collaboration diagram for Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >:
[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< Operations > | op

## Detailed Description

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

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

template<typename Iterator , typename PointT , typename Skipper >

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

Definition at line 421 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 446 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 467 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 465 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 465 of file GrammarsV2.h.

template<typename Iterator , typename PointT , typename Skipper >

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

Definition at line 469 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 465 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 465 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 468 of file GrammarsV2.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiKernel/GaudiKernel/GrammarsV2.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines