The Gaudi Framework  master (37c0b60a)
Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic > Struct Template Reference

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/AxisAsProperty.h>

Inheritance diagram for Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >:
Collaboration diagram for Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >:

Classes

struct  StoreMaxValueOp
 
struct  StoreMinValueOp
 
struct  StoreNbinsOp
 
struct  StoreTitleOp
 

Public Types

using Axis = Gaudi::Accumulators::Axis< Arithmetic >
 

Public Member Functions

 AxisGrammar ()
 

Public Attributes

qi::rule< Iterator, Axis(), qi::locals< char >, Skipperaxis
 
qi::rule< Iterator, Axis(), Skippercore
 
qi::rule< Iterator, char()> begin
 
qi::rule< Iterator, void(char)> end
 
StringGrammar< Iterator, Skippertitle
 
ph::function< StoreNbinsOpstoreNbins
 
ph::function< StoreMinValueOpstoreMinValue
 
ph::function< StoreMaxValueOpstoreMaxValue
 
ph::function< StoreTitleOpstoreTitle
 

Detailed Description

template<typename Iterator, typename Skipper, typename Arithmetic>
struct Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >

Definition at line 35 of file AxisAsProperty.h.

Member Typedef Documentation

◆ Axis

template<typename Iterator , typename Skipper , typename Arithmetic >
using Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::Axis = Gaudi::Accumulators::Axis<Arithmetic>

Definition at line 36 of file AxisAsProperty.h.

Constructor & Destructor Documentation

◆ AxisGrammar()

template<typename Iterator , typename Skipper , typename Arithmetic >
Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::AxisGrammar ( )
inline

Definition at line 49 of file AxisAsProperty.h.

49  : AxisGrammar::base_type( axis ) {
50  begin = enc::char_( '[' )[qi::_val = ']'] | enc::char_( '(' )[qi::_val = ')'];
51  end = enc::char_( qi::_r1 );
52  core = qi::int_[storeNbins( qi::_val, qi::_1 )] >> "," >> qi::double_[storeMinValue( qi::_val, qi::_1 )] >>
53  "," >> qi::double_[storeMaxValue( qi::_val, qi::_1 )] >>
54  -( "," >> title[storeTitle( qi::_val, qi::_1 )] );
55  axis = begin[qi::_a = qi::_1] >> core[qi::_val = qi::_1] >> end( qi::_a );
56  }

Member Data Documentation

◆ axis

template<typename Iterator , typename Skipper , typename Arithmetic >
qi::rule<Iterator, Axis(), qi::locals<char>, Skipper> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::axis

Definition at line 57 of file AxisAsProperty.h.

◆ begin

template<typename Iterator , typename Skipper , typename Arithmetic >
qi::rule<Iterator, char()> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::begin

Definition at line 59 of file AxisAsProperty.h.

◆ core

template<typename Iterator , typename Skipper , typename Arithmetic >
qi::rule<Iterator, Axis(), Skipper> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::core

Definition at line 58 of file AxisAsProperty.h.

◆ end

template<typename Iterator , typename Skipper , typename Arithmetic >
qi::rule<Iterator, void( char )> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::end

Definition at line 60 of file AxisAsProperty.h.

◆ storeMaxValue

template<typename Iterator , typename Skipper , typename Arithmetic >
ph::function<StoreMaxValueOp> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::storeMaxValue

Definition at line 64 of file AxisAsProperty.h.

◆ storeMinValue

template<typename Iterator , typename Skipper , typename Arithmetic >
ph::function<StoreMinValueOp> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::storeMinValue

Definition at line 63 of file AxisAsProperty.h.

◆ storeNbins

template<typename Iterator , typename Skipper , typename Arithmetic >
ph::function<StoreNbinsOp> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::storeNbins

Definition at line 62 of file AxisAsProperty.h.

◆ storeTitle

template<typename Iterator , typename Skipper , typename Arithmetic >
ph::function<StoreTitleOp> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::storeTitle

Definition at line 65 of file AxisAsProperty.h.

◆ title

template<typename Iterator , typename Skipper , typename Arithmetic >
StringGrammar<Iterator, Skipper> Gaudi::Parsers::AxisGrammar< Iterator, Skipper, Arithmetic >::title

Definition at line 61 of file AxisAsProperty.h.


The documentation for this struct was generated from the following file:
Gaudi::Parsers::AxisGrammar::title
StringGrammar< Iterator, Skipper > title
Definition: AxisAsProperty.h:61
Gaudi::Parsers::AxisGrammar::storeTitle
ph::function< StoreTitleOp > storeTitle
Definition: AxisAsProperty.h:65
Gaudi::Parsers::AxisGrammar::end
qi::rule< Iterator, void(char)> end
Definition: AxisAsProperty.h:60
Gaudi::Parsers::AxisGrammar::axis
qi::rule< Iterator, Axis(), qi::locals< char >, Skipper > axis
Definition: AxisAsProperty.h:57
Gaudi::Parsers::AxisGrammar::storeMaxValue
ph::function< StoreMaxValueOp > storeMaxValue
Definition: AxisAsProperty.h:64
Gaudi::Parsers::AxisGrammar::storeMinValue
ph::function< StoreMinValueOp > storeMinValue
Definition: AxisAsProperty.h:63
Gaudi::Parsers::AxisGrammar::core
qi::rule< Iterator, Axis(), Skipper > core
Definition: AxisAsProperty.h:58
Gaudi::Parsers::AxisGrammar::begin
qi::rule< Iterator, char()> begin
Definition: AxisAsProperty.h:59
Gaudi::Parsers::AxisGrammar::storeNbins
ph::function< StoreNbinsOp > storeNbins
Definition: AxisAsProperty.h:62