39 unsigned int iBitPackedViews,
40 bool iRepresentsSubPart,
43 m_typeidName(iTypeName) {}
75 if (iChild.
getClass()->GetTypeInfo() ==
nullptr) {
80 if (iChild.
typeInfo().name() == iParentTypeName) {
84 if (bases.
size() == 0) {
88 for (
auto const&
base : bases) {
102 TClass* clss = TClass::GetClass(iTypeName.c_str());
104 if (
nullptr == clss ||
nullptr == clss->GetTypeInfo()) {
107 std::shared_ptr<FWItemAccessorBase> accessor = factory.
accessorFor(clss);
109 const TClass* modelClass = accessor->modelType();
112 if (
nullptr == modelClass ||
nullptr == modelClass->GetTypeInfo()) {
const std::string & purpose() const
std::shared_ptr< FWItemAccessorBase > accessorFor(const TClass *) const
FWSimpleRepresentationChecker(const std::string &iTypeidName, const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF=false)
bool representsSubPart() const
static bool inheritsFrom(const edm::TypeWithDict &iChild, const std::string &iParentTypeName, unsigned int &distance)
TClass * getClass() const
std::type_info const & typeInfo() const
~FWSimpleRepresentationChecker() override
const std::string m_typeidName
unsigned int bitPackedViews() const
FWRepresentationInfo infoFor(const std::string &iTypeName) const override