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 
28 // forward declarations
29 
31 {
32 
33 public:
34  FWConfigurableParameterizable(unsigned int iVersion = 1);
36 
37  // ---------- const member functions ---------------------
38  void addTo(FWConfiguration&) const override;
39 
40  unsigned int version() const {
41  return m_version;
42  }
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46  void setFrom(const FWConfiguration&) override;
47 
48 private:
49  FWConfigurableParameterizable(const FWConfigurableParameterizable&) = delete; // stop default
50 
51  const FWConfigurableParameterizable& operator=(const FWConfigurableParameterizable&) = delete; // stop default
52 
53  // ---------- member data --------------------------------
54  unsigned int m_version;
55 };
56 
57 
58 #endif
void addTo(FWConfiguration &) const override
FWConfigurableParameterizable(unsigned int iVersion=1)
void setFrom(const FWConfiguration &) override
const FWConfigurableParameterizable & operator=(const FWConfigurableParameterizable &)=delete