Refureku - Reflection library for C++
Refureku is a powerful C++17 RTTI free runtime reflection library based on Kodgen. It allows to retrieve information on namespaces, structs/classes, fields, methods, non-member variables, non-member functions, enums and enum values at runtime.
Features:
Features:
- Easy to integrate in a software like a game engine
- Reflect namespaces, structs, classes, methods, fields, variables, functions, enums and enum values
- Support structs/classes with or without inheritance (multiple inheritance supported)
- Can look for a struct/class, enum, field or method by name, with additional filtering parameters
- Function/Method call with any arguments and any return type (public, protected, private, virtual, override)
- Variable/Field get/set any data of any type (public, protected, private)
- Know at runtime if an instance of a reflected struct/class inherits or is the base of another reflected struct/class
- Arbitrary properties (like tags) on any entity
- Reflection metadata is regenerated only when a file changes
- Can instantiate any objects just from an archetype (which is obtainable by name or id), with arbitrary parameters
- Know at compile-time if a struct/class is reflected or not (can be combined with if constexpr expression)
https://github.com/jsoysouvanh/Refureku
License:
Tech:
Tags: