CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::parser::FunctionSetterCommit Struct Reference

#include <FunctionSetter.h>

List of all members.

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.

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

Member Function Documentation

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

Definition at line 35 of file FunctionSetter.h.

References from_, and to_.

                                            { 
            to_.push_back(from_.back());
            from_.clear();
        }

Member Data Documentation

Definition at line 40 of file FunctionSetter.h.

Referenced by operator()().

Definition at line 41 of file FunctionSetter.h.

Referenced by operator()().