CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::parser::ComparisonSetter< CompT > Struct Template Reference

#include <ComparisonSetter.h>

Public Member Functions

 ComparisonSetter (ComparisonStack &stack)
 
void operator() (const char) const
 

Private Attributes

ComparisonStackstack_
 

Detailed Description

template<class CompT>
struct reco::parser::ComparisonSetter< CompT >

Definition at line 31 of file ComparisonSetter.h.

Constructor & Destructor Documentation

◆ ComparisonSetter()

template<class CompT>
reco::parser::ComparisonSetter< CompT >::ComparisonSetter ( ComparisonStack stack)
inline

Definition at line 32 of file ComparisonSetter.h.

32 : stack_(stack) {}

Member Function Documentation

◆ operator()()

template<class CompT>
void reco::parser::ComparisonSetter< CompT >::operator() ( const char  ) const
inline

Definition at line 33 of file ComparisonSetter.h.

33  {
34 #ifdef BOOST_SPIRIT_DEBUG
35  BOOST_SPIRIT_DEBUG_OUT << "pushing comparison: " << cmp_out<CompT>::value << std::endl;
36 #endif
37  stack_.push_back(std::shared_ptr<ComparisonBase>(new Comparison<CompT>()));
38  }

References reco::parser::ComparisonSetter< CompT >::stack_, and relativeConstraints::value.

Member Data Documentation

◆ stack_

template<class CompT>
ComparisonStack& reco::parser::ComparisonSetter< CompT >::stack_
private
reco::parser::ComparisonSetter::stack_
ComparisonStack & stack_
Definition: ComparisonSetter.h:41
svgfig.stack
stack
Definition: svgfig.py:559
relativeConstraints.value
value
Definition: relativeConstraints.py:53