Dear all,
I know that I can get a TClass if I have a type_id using GetClass()
.
Is the opposite possible ? Get back the type_id from a TClass ?
Thank you
Barth
Dear all,
I know that I can get a TClass if I have a type_id using GetClass()
.
Is the opposite possible ? Get back the type_id from a TClass ?
Thank you
Barth
Yes, though TClass::GetTypeInfo
which returns a pointer which is sometimes nullptr as only the classes that have a dictionary will have access to the type_id/type_info for the class.
Thank you, totally missed this one.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.