39 unsigned int iBitPackedViews,
40 bool iRepresentsSubPart,
43 m_typeidName(iTypeName)
80 if (iChild.
getClass()->GetTypeInfo() ==
nullptr) {
85 if(iChild.
typeInfo().name() == iParentTypeName) {
89 if(bases.
size() == 0) {
93 for(
auto const&
base : bases) {
109 TClass* clss = TClass::GetClass(iTypeName.c_str());
111 if(
nullptr==clss ||
nullptr==clss->GetTypeInfo()) {
114 std::shared_ptr<FWItemAccessorBase> accessor = factory.
accessorFor(clss);
116 const TClass* modelClass = accessor->modelType();
119 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
base
Make Sure CMSSW is Setup ##.
~FWSimpleRepresentationChecker() override
const std::string m_typeidName
unsigned int bitPackedViews() const
FWRepresentationInfo infoFor(const std::string &iTypeName) const override