CMS 3D CMS Logo

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

#include <FunctionSetter.h>

Public Member Functions

 FunctionSetterCommit (FunctionStack &stackFrom, FunctionStack &stackTo)
 
void operator() (const char &) const
 

Private Attributes

FunctionStackfrom_
 
FunctionStackto_
 

Detailed Description

Definition at line 32 of file FunctionSetter.h.

Constructor & Destructor Documentation

◆ FunctionSetterCommit()

reco::parser::FunctionSetterCommit::FunctionSetterCommit ( FunctionStack stackFrom,
FunctionStack stackTo 
)
inline

Definition at line 33 of file FunctionSetter.h.

33 : from_(stackFrom), to_(stackTo) {}

Member Function Documentation

◆ operator()()

void reco::parser::FunctionSetterCommit::operator() ( const char &  ) const
inline

Definition at line 34 of file FunctionSetter.h.

34  {
35  to_.push_back(from_.back());
36  from_.clear();
37  }

References from_, and to_.

Member Data Documentation

◆ from_

FunctionStack& reco::parser::FunctionSetterCommit::from_
private

Definition at line 40 of file FunctionSetter.h.

Referenced by operator()().

◆ to_

FunctionStack& reco::parser::FunctionSetterCommit::to_
private

Definition at line 41 of file FunctionSetter.h.

Referenced by operator()().

reco::parser::FunctionSetterCommit::to_
FunctionStack & to_
Definition: FunctionSetter.h:41
reco::parser::FunctionSetterCommit::from_
FunctionStack & from_
Definition: FunctionSetter.h:40