CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::parser::ExpressionNumberSetter Struct Reference

#include <ExpressionNumberSetter.h>

Public Member Functions

 ExpressionNumberSetter (ExpressionStack &stack)
 
void operator() (double n) const
 

Private Attributes

ExpressionStackstack_
 

Detailed Description

Definition at line 18 of file ExpressionNumberSetter.h.

Constructor & Destructor Documentation

◆ ExpressionNumberSetter()

reco::parser::ExpressionNumberSetter::ExpressionNumberSetter ( ExpressionStack stack)
inline

Definition at line 19 of file ExpressionNumberSetter.h.

Member Function Documentation

◆ operator()()

void reco::parser::ExpressionNumberSetter::operator() ( double  n) const
inline

Definition at line 20 of file ExpressionNumberSetter.h.

References dqmiodumpmetadata::n, and stack_.

20 { stack_.push_back(ExpressionPtr(new ExpressionNumber(n))); }
std::shared_ptr< ExpressionBase > ExpressionPtr

Member Data Documentation

◆ stack_

ExpressionStack& reco::parser::ExpressionNumberSetter::stack_
private

Definition at line 23 of file ExpressionNumberSetter.h.

Referenced by operator()().