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

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

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  }

Member Data Documentation

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

Definition at line 40 of file FunctionSetter.h.

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

Definition at line 41 of file FunctionSetter.h.