CMS 3D CMS Logo

IntSetter.h

Go to the documentation of this file.
00001 #ifndef Utilities_IntSetter_h
00002 #define Utilities_IntSetter_h
00003 /* \class reco::parser::IntSetter
00004  *
00005  * Integer setter
00006  *
00007  * \author  Luca Lista, INFN
00008  *
00009  * \version $Revision: 1.1 $
00010  *
00011  */
00012 #include "PhysicsTools/Utilities/src/IntStack.h"
00013 
00014 namespace reco {
00015   namespace parser {
00016     struct IntSetter {
00017       IntSetter( IntStack & stack ) : stack_( stack ) { }
00018       void operator()(int n) const {
00019         stack_.push_back(n);
00020       }
00021     private:
00022       IntStack & stack_;
00023     };
00024   }
00025 }
00026 
00027 #endif

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