CMS 3D CMS Logo

FWConfigurableParameterizable.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWConfigurableParameterizable_h
2 #define Fireworks_Core_FWConfigurableParameterizable_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWConfigurableParameterizable
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Sun Mar 16 12:01:29 EDT 2008
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
30 public:
31  FWConfigurableParameterizable(unsigned int iVersion = 1);
33 
34  // ---------- const member functions ---------------------
35  void addTo(FWConfiguration&) const override;
36 
37  unsigned int version() const { return m_version; }
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41  void setFrom(const FWConfiguration&) override;
42 
43  FWConfigurableParameterizable(const FWConfigurableParameterizable&) = delete; // stop default
44 
45  const FWConfigurableParameterizable& operator=(const FWConfigurableParameterizable&) = delete; // stop default
46 
47 private:
48  // ---------- member data --------------------------------
49  unsigned int m_version;
50 };
51 
52 #endif
FWConfigurableParameterizable(unsigned int iVersion=1)
void setFrom(const FWConfiguration &) override
const FWConfigurableParameterizable & operator=(const FWConfigurableParameterizable &)=delete
void addTo(FWConfiguration &) const override