Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:32

0001 #ifndef Fireworks_Core_FWSimpleRepresentationChecker_h
0002 #define Fireworks_Core_FWSimpleRepresentationChecker_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWSimpleRepresentationChecker
0007 //
0008 /**\class FWSimpleRepresentationChecker FWSimpleRepresentationChecker.h Fireworks/Core/interface/FWSimpleRepresentationChecker.h
0009 
0010    Description: Used to check to see if a Simple proxy builder could be used to represent a particular type
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Tue Nov 25 10:54:22 EST 2008
0019 //
0020 
0021 // system include files
0022 #include "FWCore/Reflection/interface/TypeWithDict.h"
0023 
0024 // user include files
0025 #include "Fireworks/Core/interface/FWRepresentationCheckerBase.h"
0026 
0027 // forward declarations
0028 
0029 class FWSimpleRepresentationChecker : public FWRepresentationCheckerBase {
0030 public:
0031   FWSimpleRepresentationChecker(const std::string& iTypeidName,
0032                                 const std::string& iPurpose,
0033                                 unsigned int iBitPackedViews,
0034                                 bool iRepresentsSubPart,
0035                                 bool iRequiresFF = false);
0036   ~FWSimpleRepresentationChecker() override;
0037 
0038   // ---------- const member functions ---------------------
0039   FWRepresentationInfo infoFor(const std::string& iTypeName) const override;
0040 
0041   // ---------- static member functions --------------------
0042 
0043   // ---------- member functions ---------------------------
0044   static bool inheritsFrom(const edm::TypeWithDict& iChild, const std::string& iParentTypeName, unsigned int& distance);
0045 
0046   FWSimpleRepresentationChecker(const FWSimpleRepresentationChecker&) = delete;  // stop default
0047 
0048   const FWSimpleRepresentationChecker& operator=(const FWSimpleRepresentationChecker&) = delete;  // stop default
0049 
0050 private:
0051   // ---------- member data --------------------------------
0052   const std::string m_typeidName;
0053 };
0054 
0055 #endif