ReflectionExample.h 298 B

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