|This macro is necessary in order to retrieve type information about the inheritance graph of a class. More...|
Macro Definition Documentation
This macro is necessary in order to retrieve type information about the inheritance graph of a class.
When there is no inheritance graph, the macro is not needed, e.g. for POD types.
Put the macro inside every class, where you need the complete inheritance information about the class type.
Place the macro RTTR_ENABLE() somewhere in the class, it doesn't matter if its under the public, protected or private class accessor section.
Into the derived class you put the same macro, but now as argument the name of the parent class. Which is in this case
When you use multiple inheritance you simply separate every class with a comma.