a TObject has hidden field for the inheritance information. I would like to use this field for adding custom class information at compile (macro) and runtime. Is there a possibility or plan to do so?
Well there is a typeinfo module if you don't know already. I don't know what you have in mind; for example it'd be easy to add a pointer field to the type information for user defined information, but then you could do the same with an external table. What are you trying to accomplish?
At the moment my use case is a little bit vague, but for example I want to add several flags and extra information to a class, which I can query at runtime without using methods. I could of course generate a table and make a link to it at initialization. But I thought if there is already a pointer to something, why don't use it. I will look at typeinfo - thanks.