Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-03 04:09:59

0001 #ifndef Fireworks_Core_FWParameterBase_h
0002 #define Fireworks_Core_FWParameterBase_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWParameterBase
0007 //
0008 /**\class FWParameterBase FWParameterBase.h Fireworks/Core/interface/FWParameterBase.h
0009 
0010    Description: <one line class summary>
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Sat Feb 23 13:35:15 EST 2008
0019 //
0020 
0021 // system include files
0022 #include <string>
0023 
0024 // user include files
0025 #include "Fireworks/Core/interface/FWConfigurable.h"
0026 
0027 // forward declarations
0028 class FWConfiguration;
0029 class FWParameterizable;
0030 
0031 class FWParameterBase : public FWConfigurable {
0032 public:
0033   FWParameterBase(FWParameterizable* iParent, const std::string& iName);
0034   ~FWParameterBase() override;
0035 
0036   // ---------- const member functions ---------------------
0037 
0038   //virtual void addTo(FWConfiguration& ) const = 0;
0039   const std::string& name() const { return m_name; }
0040 
0041   // ---------- static member functions --------------------
0042 
0043   // ---------- member functions ---------------------------
0044   //virtual void setFrom(const FWConfiguration&) = 0;
0045 
0046   FWParameterBase(const FWParameterBase&) = delete;                   // stop default
0047   const FWParameterBase& operator=(const FWParameterBase&) = delete;  // stop default
0048 private:
0049   // ---------- member data --------------------------------
0050 
0051   std::string m_name;
0052 };
0053 
0054 #endif