Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Fireworks_Core_FWConfigurableParameterizable_h
0002 #define Fireworks_Core_FWConfigurableParameterizable_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWConfigurableParameterizable
0007 //
0008 /**\class FWConfigurableParameterizable FWConfigurableParameterizable.h Fireworks/Core/interface/FWConfigurableParameterizable.h
0009 
0010    Description: <one line class summary>
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Sun Mar 16 12:01:29 EDT 2008
0019 //
0020 
0021 // system include files
0022 
0023 // user include files
0024 #include "Fireworks/Core/interface/FWParameterizable.h"
0025 #include "Fireworks/Core/interface/FWConfigurable.h"
0026 
0027 // forward declarations
0028 
0029 class FWConfigurableParameterizable : public FWParameterizable, public FWConfigurable {
0030 public:
0031   FWConfigurableParameterizable(unsigned int iVersion = 1);
0032   ~FWConfigurableParameterizable() override;
0033 
0034   // ---------- const member functions ---------------------
0035   void addTo(FWConfiguration&) const override;
0036 
0037   unsigned int version() const { return m_version; }
0038   // ---------- static member functions --------------------
0039 
0040   // ---------- member functions ---------------------------
0041   void setFrom(const FWConfiguration&) override;
0042 
0043   FWConfigurableParameterizable(const FWConfigurableParameterizable&) = delete;  // stop default
0044 
0045   const FWConfigurableParameterizable& operator=(const FWConfigurableParameterizable&) = delete;  // stop default
0046 
0047 private:
0048   // ---------- member data --------------------------------
0049   unsigned int m_version;
0050 };
0051 
0052 #endif