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  :
34  from_(stackFrom), to_(stackTo) {}

Member Function Documentation

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

Definition at line 35 of file FunctionSetter.h.

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

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.