CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/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.3 2009/01/23 21:35:41 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 
00035 public:
00036    FWParameterBase(FWParameterizable* iParent, const std::string& iName);
00037    virtual ~FWParameterBase();
00038 
00039    // ---------- const member functions ---------------------
00040    //virtual void addTo(FWConfiguration& ) const = 0;
00041    const std::string& name() const {
00042       return m_name;
00043    }
00044 
00045    // ---------- static member functions --------------------
00046 
00047    // ---------- member functions ---------------------------
00048    //virtual void setFrom(const FWConfiguration&) = 0;
00049 
00050 private:
00051    FWParameterBase(const FWParameterBase&);    // stop default
00052 
00053    const FWParameterBase& operator=(const FWParameterBase&);    // stop default
00054 
00055    // ---------- member data --------------------------------
00056    std::string m_name;
00057 };
00058 
00059 
00060 #endif