File indexing completed on 2024-04-06 12:11:32
0001 #ifndef Fireworks_Core_FWSimpleRepresentationChecker_h
0002 #define Fireworks_Core_FWSimpleRepresentationChecker_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "FWCore/Reflection/interface/TypeWithDict.h"
0023
0024
0025 #include "Fireworks/Core/interface/FWRepresentationCheckerBase.h"
0026
0027
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
0039 FWRepresentationInfo infoFor(const std::string& iTypeName) const override;
0040
0041
0042
0043
0044 static bool inheritsFrom(const edm::TypeWithDict& iChild, const std::string& iParentTypeName, unsigned int& distance);
0045
0046 FWSimpleRepresentationChecker(const FWSimpleRepresentationChecker&) = delete;
0047
0048 const FWSimpleRepresentationChecker& operator=(const FWSimpleRepresentationChecker&) = delete;
0049
0050 private:
0051
0052 const std::string m_typeidName;
0053 };
0054
0055 #endif