CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 27 of file ComparisonSetter.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file ComparisonSetter.h.

28 : stack_(stack) { }
stack
Definition: svgfig.py:558

Member Function Documentation

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

Definition at line 29 of file ComparisonSetter.h.

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

29  {
30 #ifdef BOOST_SPIRIT_DEBUG
31  BOOST_SPIRIT_DEBUG_OUT << "pushing comparison: " << cmp_out<CompT>::value << std::endl;
32 #endif
33  stack_.push_back(boost::shared_ptr<ComparisonBase>(new Comparison<CompT>()));
34  }

Member Data Documentation

template<class CompT>
ComparisonStack& reco::parser::ComparisonSetter< CompT >::stack_
private