I’d need to understand if a class is polymorphic (or in other words, if it has a vtable) at runtime using TClass
. I didn’t find anything similar in the TClass
documentation, so I wonder whether it is feasible or not.
Thanks
Maybe this:
TClass::Property() & kClassHasVirtual
can work? I did some checks and it seems to work, but I’m not 100% sure since I couldn’t find any documentation about the meaning of the EClassProperty
enum in TDictionary.h
. So I’d appreciate a confirmation from an expert.
Thanks.
Close but not quite:
TClass::GetClass(classname)->ClassProperty() & kClassHasVirtual
Cheers,
Philippe.
Thanks a lot Philippe!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.