CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/Fireworks/Core/interface/FWConfigurableParameterizable.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWConfigurableParameterizable_h
00002 #define Fireworks_Core_FWConfigurableParameterizable_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWConfigurableParameterizable
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Sun Mar 16 12:01:29 EDT 2008
00019 // $Id: FWConfigurableParameterizable.h,v 1.3 2009/01/23 21:35:41 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "Fireworks/Core/interface/FWParameterizable.h"
00026 #include "Fireworks/Core/interface/FWConfigurable.h"
00027 
00028 
00029 // forward declarations
00030 
00031 class FWConfigurableParameterizable : public FWParameterizable, public FWConfigurable
00032 {
00033 
00034 public:
00035    FWConfigurableParameterizable(unsigned int iVersion = 1);
00036    virtual ~FWConfigurableParameterizable();
00037 
00038    // ---------- const member functions ---------------------
00039    virtual void addTo(FWConfiguration&) const;
00040 
00041    unsigned int version() const {
00042       return m_version;
00043    }
00044    // ---------- static member functions --------------------
00045 
00046    // ---------- member functions ---------------------------
00047    virtual void setFrom(const FWConfiguration&);
00048 
00049 private:
00050    FWConfigurableParameterizable(const FWConfigurableParameterizable&);    // stop default
00051 
00052    const FWConfigurableParameterizable& operator=(const FWConfigurableParameterizable&);    // stop default
00053 
00054    // ---------- member data --------------------------------
00055    unsigned int m_version;
00056 };
00057 
00058 
00059 #endif