CMS 3D CMS Logo

FWConfigurable.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWConfigurable_h
2 #define Fireworks_Core_FWConfigurable_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWConfigurable
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Sun Feb 24 14:35:47 EST 2008
19 //
20 
21 // system include files
22 
23 // user include files
24 
25 // forward declarations
26 class FWConfiguration;
27 
29 public:
31  virtual ~FWConfigurable();
32 
33  // ---------- const member functions ---------------------
34  virtual void addTo(FWConfiguration&) const = 0;
35 
36  // ---------- static member functions --------------------
37 
38  // ---------- member functions ---------------------------
39  virtual void setFrom(const FWConfiguration&) = 0;
40 
41 private:
42  FWConfigurable(const FWConfigurable&) = delete; // stop default
43 
44  const FWConfigurable& operator=(const FWConfigurable&) = delete; // stop default
45 
46  // ---------- member data --------------------------------
47 };
48 
49 #endif
FWConfigurable::~FWConfigurable
virtual ~FWConfigurable()
Definition: FWConfigurable.cc:36
FWConfigurable::addTo
virtual void addTo(FWConfiguration &) const =0
FWConfigurable::FWConfigurable
FWConfigurable()
Definition: FWConfigurable.cc:29
FWConfigurable::operator=
const FWConfigurable & operator=(const FWConfigurable &)=delete
FWConfigurable
Definition: FWConfigurable.h:28
FWConfigurable::setFrom
virtual void setFrom(const FWConfiguration &)=0
FWConfiguration
Definition: FWConfiguration.h:31