00001 #ifndef Fireworks_Core_FWSimpleRepresentationChecker_h 00002 #define Fireworks_Core_FWSimpleRepresentationChecker_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Core 00006 // Class : FWSimpleRepresentationChecker 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Tue Nov 25 10:54:22 EST 2008 00019 // $Id: FWSimpleRepresentationChecker.h,v 1.4 2010/06/02 22:37:42 chrjones Exp $ 00020 // 00021 00022 // system include files 00023 #include "Reflex/Type.h" 00024 00025 // user include files 00026 #include "Fireworks/Core/interface/FWRepresentationCheckerBase.h" 00027 00028 // forward declarations 00029 00030 class FWSimpleRepresentationChecker : public FWRepresentationCheckerBase { 00031 00032 public: 00033 FWSimpleRepresentationChecker(const std::string& iTypeidName, 00034 const std::string& iPurpose, 00035 unsigned int iBitPackedViews, 00036 bool iRepresentsSubPart); 00037 virtual ~FWSimpleRepresentationChecker(); 00038 00039 // ---------- const member functions --------------------- 00040 virtual FWRepresentationInfo infoFor(const std::string& iTypeName) const; 00041 00042 // ---------- static member functions -------------------- 00043 00044 // ---------- member functions --------------------------- 00045 00046 private: 00047 FWSimpleRepresentationChecker(const FWSimpleRepresentationChecker&); // stop default 00048 00049 const FWSimpleRepresentationChecker& operator=(const FWSimpleRepresentationChecker&); // stop default 00050 00051 // ---------- member data -------------------------------- 00052 const std::string m_typeidName; 00053 }; 00054 00055 00056 #endif