Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:32

0001 #ifndef Fireworks_Core_FWParameters_h
0002 #define Fireworks_Core_FWParameters_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWGenericParameterWithRange
0007 //
0008 /**\class FWGenericParameterWithRange FWGenericParameter.h Fireworks/Core/interface/FWLongParameter.h
0009 
0010    Description: Provides access to a simple double parameter
0011 
0012    Usage:
0013     If min and max values are both identical than no restriction is placed on the allowed value
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Fri Mar  7 14:36:34 EST 2008
0019 //
0020 
0021 // user include files
0022 #include "Fireworks/Core/interface/FWGenericParameter.h"
0023 #include "Fireworks/Core/interface/FWGenericParameterWithRange.h"
0024 
0025 // forward declarations
0026 
0027 struct FWParameters {
0028   typedef FWGenericParameterWithRange<long> Long;
0029   typedef FWGenericParameterWithRange<double> Double;
0030   typedef FWGenericParameter<std::string> String;
0031   typedef FWGenericParameter<bool> Bool;
0032 };
0033 
0034 typedef FWParameters::Long FWLongParameter;
0035 typedef FWParameters::Double FWDoubleParameter;
0036 typedef FWParameters::String FWStringParameter;
0037 typedef FWParameters::Bool FWBoolParameter;
0038 
0039 #endif