Closed dame-time closed 1 year ago
You can use some tools(like anltr, clang, etc) to parse the C++ source code and gather type info for registeration.
I achieved my goal by simply accepting that we don't have reflection in C++ for introspection or intercession! Though I managed to do a kind of reflective introspection with this excellent library, making serialization kind of possible.
I'm trying to register multiple components and their fields in order to create a sort of reflection. For now, I'm handling the automatic registration of a component in such a way:
Tho I want to be able to automatically assign to the class registration all the fields, is this possible?