CMS 3D CMS Logo

MethodSetter.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_Utilities_MethodSetter_h
00002 #define PhysicsTools_Utilities_MethodSetter_h
00003 /* \class reco::parser::MethodSetter
00004  *
00005  * \author Luca Lista, INFN
00006  *
00007  * \version $Id: MethodSetter.h,v 1.5 2008/08/15 17:54:57 chrjones Exp $
00008  */
00009 #include "PhysicsTools/Utilities/src/MethodStack.h"
00010 #include "PhysicsTools/Utilities/src/TypeStack.h"
00011 #include "PhysicsTools/Utilities/src/MethodArgumentStack.h"
00012 
00013 namespace reco {
00014   namespace parser {
00015     struct MethodSetter {
00016       explicit MethodSetter(MethodStack & methStack, TypeStack & typeStack,
00017                             MethodArgumentStack & intStack) : 
00018         methStack_(methStack), typeStack_(typeStack),
00019         intStack_(intStack) { }
00020       void operator()(const char *, const char *) const;
00021     private:
00022       MethodStack & methStack_;
00023       TypeStack & typeStack_;
00024       MethodArgumentStack & intStack_;
00025       void push(const std::string&, const std::vector<AnyMethodArgument>&,const char*) const;
00026     };
00027   }
00028 }
00029 
00030 #endif

Generated on Tue Jun 9 17:42:52 2009 for CMSSW by  doxygen 1.5.4