The Gaudi Framework  master (e68eea06)
Loading...
Searching...
No Matches
Gaudi::Parsers::Pnt3DGrammar< Iterator, PointT, Skipper > Struct Template Reference

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h>

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

Public Types

using ResultT = PointT
 
using Scalar = typename PointT::Scalar
 

Public Member Functions

 Pnt3DGrammar ()
 

Public Attributes

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

Detailed Description

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

Definition at line 274 of file Grammars.h.

Member Typedef Documentation

◆ ResultT

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

Definition at line 275 of file Grammars.h.

◆ Scalar

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

Definition at line 276 of file Grammars.h.

Constructor & Destructor Documentation

◆ Pnt3DGrammar()

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

Definition at line 281 of file Grammars.h.

282 auto const setX = ph::bind( &ResultT::SetX, qi::_val, qi::_1 );
283 auto const setY = ph::bind( &ResultT::SetY, qi::_val, qi::_1 );
284 auto const setZ = ph::bind( &ResultT::SetZ, qi::_val, qi::_1 );
285 list = -( enc::no_case[qi::lit( "x" ) | qi::lit( "px" )] >> ':' ) >> scalar[setX] >> ',' >>
286 -( enc::no_case[qi::lit( "y" ) | qi::lit( "py" )] >> ':' ) >> scalar[setY] >> ',' >>
287 -( enc::no_case[qi::lit( "z" ) | qi::lit( "pz" )] >> ':' ) >> scalar[setZ];
288 point = list | rep::confix( '(', ')' )[list] | rep::confix( '[', ']' )[list];
289 }
Grammar_< Iterator, Scalar, Skipper >::Grammar scalar
Definition Grammars.h:279
qi::rule< Iterator, ResultT(), Skipper > list
Definition Grammars.h:278
qi::rule< Iterator, ResultT(), Skipper > point
Definition Grammars.h:278

Member Data Documentation

◆ list

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

Definition at line 278 of file Grammars.h.

◆ point

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

Definition at line 278 of file Grammars.h.

◆ scalar

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

Definition at line 279 of file Grammars.h.


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