CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/Fireworks/Core/interface/FWParameterBase.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWParameterBase_h
00002 #define Fireworks_Core_FWParameterBase_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWParameterBase
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Sat Feb 23 13:35:15 EST 2008
00019 // $Id: FWParameterBase.h,v 1.4 2012/02/22 03:45:57 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 #include <string>
00024 
00025 // user include files
00026 #include "Fireworks/Core/interface/FWConfigurable.h"
00027 
00028 // forward declarations
00029 class FWConfiguration;
00030 class FWParameterizable;
00031 
00032 class FWParameterBase : public FWConfigurable
00033 {
00034 public:
00035    FWParameterBase(FWParameterizable* iParent, const std::string& iName);
00036    virtual ~FWParameterBase();
00037 
00038    // ---------- const member functions ---------------------
00039 
00040    //virtual void addTo(FWConfiguration& ) const = 0;
00041    const std::string& name() const { return m_name; }
00042 
00043    // ---------- static member functions --------------------
00044 
00045    // ---------- member functions ---------------------------
00046    //virtual void setFrom(const FWConfiguration&) = 0;
00047 
00048 private:
00049    FWParameterBase(const FWParameterBase&);                  // stop default
00050    const FWParameterBase& operator=(const FWParameterBase&); // stop default
00051 
00052    // ---------- member data --------------------------------
00053 
00054    std::string m_name;
00055 };
00056 
00057 #endif