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.

19 : stack_(stack) {}

Member Function Documentation

◆ operator()()

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

Definition at line 20 of file ExpressionNumberSetter.h.

20 { stack_.push_back(ExpressionPtr(new ExpressionNumber(n))); }

References dqmiodumpmetadata::n, and stack_.

Member Data Documentation

◆ stack_

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

Definition at line 23 of file ExpressionNumberSetter.h.

Referenced by operator()().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
reco::parser::ExpressionNumberSetter::stack_
ExpressionStack & stack_
Definition: ExpressionNumberSetter.h:23
svgfig.stack
stack
Definition: svgfig.py:559
reco::parser::ExpressionPtr
std::shared_ptr< ExpressionBase > ExpressionPtr
Definition: ExpressionBase.h:25