00001 #ifndef Fireworks_Core_FWModelIdFromEveSelector_h 00002 #define Fireworks_Core_FWModelIdFromEveSelector_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Core 00006 // Class : FWModelIdFromEveSelector 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Wed Oct 28 11:44:11 CET 2009 00019 // $Id: FWModelIdFromEveSelector.h,v 1.1 2009/10/28 14:36:58 chrjones Exp $ 00020 // 00021 00022 // system include files 00023 00024 // user include files 00025 #include "Fireworks/Core/interface/FWFromEveSelectorBase.h" 00026 #include "Fireworks/Core/interface/FWModelId.h" 00027 00028 // forward declarations 00029 00030 class FWModelIdFromEveSelector : public FWFromEveSelectorBase 00031 { 00032 00033 public: 00034 FWModelIdFromEveSelector(const FWModelId& iId = FWModelId()): 00035 m_id(iId) {} 00036 //virtual ~FWModelIdFromEveSelector(); 00037 00038 operator FWModelId() const { return m_id;} 00039 // ---------- const member functions --------------------- 00040 const FWModelId& id() const {return m_id;} 00041 00042 // ---------- static member functions -------------------- 00043 00044 // ---------- member functions --------------------------- 00045 void doSelect(); 00046 void doUnselect(); 00047 00048 private: 00049 //FWModelIdFromEveSelector(const FWModelIdFromEveSelector&); // stop default 00050 00051 //const FWModelIdFromEveSelector& operator=(const FWModelIdFromEveSelector&); // stop default 00052 00053 // ---------- member data -------------------------------- 00054 FWModelId m_id; 00055 }; 00056 00057 00058 #endif