MCPcopy Create free account
hub / github.com/KDAB/GammaRay / isPolymorphic

Method isPolymorphic

core/metaobject.cpp:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96bool MetaObject::isPolymorphic() const
97{
98 if (isClassPolymorphic())
99 return true;
100 for (const auto &baseClass : m_baseClasses) {
101 if (baseClass->isPolymorphic())
102 return true;
103 }
104 return false;
105}
106
107void *MetaObject::castFrom(void *object, MetaObject *baseClass) const
108{

Callers 1

metaObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected