CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWParameterBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWParameterBase_h
2 #define Fireworks_Core_FWParameterBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWParameterBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Sat Feb 23 13:35:15 EST 2008
19 // $Id: FWParameterBase.h,v 1.2 2008/11/06 22:05:23 amraktad Exp $
20 //
21 
22 // system include files
23 #include <string>
24 
25 // user include files
27 
28 // forward declarations
29 class FWConfiguration;
30 class FWParameterizable;
31 
33 {
34 
35 public:
36  FWParameterBase(FWParameterizable* iParent, const std::string& iName);
37  virtual ~FWParameterBase();
38 
39  // ---------- const member functions ---------------------
40  //virtual void addTo(FWConfiguration& ) const = 0;
41  const std::string& name() const {
42  return m_name;
43  }
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  //virtual void setFrom(const FWConfiguration&) = 0;
49 
50 private:
51  FWParameterBase(const FWParameterBase&); // stop default
52 
53  const FWParameterBase& operator=(const FWParameterBase&); // stop default
54 
55  // ---------- member data --------------------------------
56  std::string m_name;
57 };
58 
59 
60 #endif
const FWParameterBase & operator=(const FWParameterBase &)
std::string m_name
virtual ~FWParameterBase()
const std::string & name() const
FWParameterBase(FWParameterizable *iParent, const std::string &iName)