CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Fireworks/Core/interface/FWCompositeParameter.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWCompositeParameter_h
00002 #define Fireworks_Core_FWCompositeParameter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWCompositeParameter
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Fri Mar  7 14:37:04 EST 2008
00019 // $Id: FWCompositeParameter.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/FWParameterBase.h"
00026 #include "Fireworks/Core/interface/FWParameterizable.h"
00027 
00028 // forward declarations
00029 
00030 class FWCompositeParameter : public FWParameterBase, public FWParameterizable
00031 {
00032 
00033 public:
00034    FWCompositeParameter(FWParameterizable* iParent,
00035                         const std::string& iName,
00036                         unsigned int iVersion=1);
00037    virtual ~FWCompositeParameter();
00038 
00039    // ---------- const member functions ---------------------
00040    virtual void addTo(FWConfiguration& ) const ;
00041 
00042    // ---------- static member functions --------------------
00043 
00044    // ---------- member functions ---------------------------
00045    virtual void setFrom(const FWConfiguration&);
00046 
00047 private:
00048    FWCompositeParameter(const FWCompositeParameter&);    // stop default
00049 
00050    const FWCompositeParameter& operator=(const FWCompositeParameter&);    // stop default
00051 
00052    // ---------- member data --------------------------------
00053    unsigned int m_version;
00054 };
00055 
00056 
00057 #endif