CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::parser::ExpressionNumberSetter Struct Reference

#include <ExpressionNumberSetter.h>

List of all members.

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

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

Definition at line 19 of file ExpressionNumberSetter.h.

: stack_(stack) { }

Member Function Documentation

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

Definition at line 20 of file ExpressionNumberSetter.h.

References stack_.

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

Member Data Documentation

Definition at line 24 of file ExpressionNumberSetter.h.

Referenced by operator()().