ReflectionExample.h 295 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "Reflection.h"
  3. using namespace Framework;
  4. REFLECTABLE_CLASS(AReflectableClass)
  5. }
  6. ;
  7. class AReflectableClass
  8. {
  9. #define CLASS_NAME "AReflectableClass"
  10. public:
  11. static Klasse klasse;
  12. private:
  13. };
  14. Klasse AReflectableClass::klasse = Klasse(CLASS_NAME);
  15. #undef CLASS_NAME