CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWConfigurable_h
00002 #define Fireworks_Core_FWConfigurable_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWConfigurable
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Sun Feb 24 14:35:47 EST 2008
00019 // $Id: FWConfigurable.h,v 1.3 2009/01/23 21:35:41 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 
00026 // forward declarations
00027 class FWConfiguration;
00028 
00029 class FWConfigurable
00030 {
00031 
00032 public:
00033    FWConfigurable();
00034    virtual ~FWConfigurable();
00035 
00036    // ---------- const member functions ---------------------
00037    virtual void addTo(FWConfiguration&) const = 0;
00038 
00039    // ---------- static member functions --------------------
00040 
00041    // ---------- member functions ---------------------------
00042    virtual void setFrom(const FWConfiguration&) = 0;
00043 
00044 private:
00045    FWConfigurable(const FWConfigurable&);    // stop default
00046 
00047    const FWConfigurable& operator=(const FWConfigurable&);    // stop default
00048 
00049    // ---------- member data --------------------------------
00050 
00051 };
00052 
00053 
00054 #endif