40 unsigned int iBitPackedViews,
41 bool iRepresentsSubPart) :
43 m_typeidName(iTypeName)
77 unsigned int& distance) {
78 if(iChild.
typeInfo().name() == iParentTypeName) {
82 if(bases.
size() == 0) {
86 for(
auto const&
base : bases) {
98 unsigned int distance=1;
102 TClass* clss = TClass::GetClass(iTypeName.c_str());
104 if(0==clss || 0==clss->GetTypeInfo()) {
107 boost::shared_ptr<FWItemAccessorBase> accessor = factory.
accessorFor(clss);
109 const TClass* modelClass = accessor->modelType();
112 if(0==modelClass || 0 == modelClass->GetTypeInfo()) {
virtual FWRepresentationInfo infoFor(const std::string &iTypeName) const
FWSimpleRepresentationChecker(const std::string &iTypeidName, const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart)
const std::string & purpose() const
bool representsSubPart() const
static bool inheritsFrom(const edm::TypeWithDict &iChild, const std::string &iParentTypeName, unsigned int &distance)
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