CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::parser::ComparisonSetter< CompT > Struct Template Reference

#include <ComparisonSetter.h>

List of all members.

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.

: stack_(stack) { }

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.

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

Member Data Documentation

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