Most mature C++ projects seem to have an own reflection and attribute system, i.e for defining attributes which can be accessed by string and are automatically serializable. At least many C++ projects I participated in seemed to reinvent the wheel.
Do you know any good open source libraries for C++ which support reflection and attribute containers, specifically:
- Defining RTTI and attributes via macros
- Accessing RTTI and attributes via code
- Automatic serialisation of attributes
- Listening to attribute modifications (e.g. OnValueChanged)
You could have a look at the two tools below. I’ve never used either of them, so I can’t tell you how (im)practical they are.
XRTTI:
OpenC++: