39 unsigned int iBitPackedViews,
40 bool iRepresentsSubPart,
43 m_typeidName(iTypeName)
80 if (iChild.
getClass()->GetTypeInfo() == 0) {
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(0==clss || 0==clss->GetTypeInfo()) {
114 boost::shared_ptr<FWItemAccessorBase> accessor = factory.
accessorFor(clss);
116 const TClass* modelClass = accessor->modelType();
119 if(0==modelClass || 0 == modelClass->GetTypeInfo()) {
virtual FWRepresentationInfo infoFor(const std::string &iTypeName) const
const std::string & purpose() 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
const std::string m_typeidName
virtual ~FWSimpleRepresentationChecker()
boost::shared_ptr< FWItemAccessorBase > accessorFor(const TClass *) const
unsigned int bitPackedViews() const