rttr_enable.h File Reference
  #include <type_traits>#include "rttr/detail/misc_type_traits.h"#include "rttr/type.h"#include "rttr/variant.h"Go to the source code of this file.
| Namespaces | |
| rttr | |
| The namespace for all rttr components. | |
| Macros | |
| #define | RTTR_ENABLE(...) | 
| #define | TYPE_LIST(...) rttr::impl::type_list<__VA_ARGS__> | 
Macro Definition Documentation
| #define RTTR_ENABLE | ( | ... | ) | 
Value:
public:\
    virtual RTTR_INLINE rttr::type get_type() const { return rttr::impl::get_type_from_instance(this); }  \
    virtual RTTR_INLINE rttr::detail::derived_info get_derived_info() { return {reinterpret_cast<void*>(this), rttr::impl::get_type_from_instance(this)}; } \
    typedef TYPE_LIST(__VA_ARGS__) base_class_list; \
private:
| #define TYPE_LIST | ( | ... | ) | rttr::impl::type_list<__VA_ARGS__> |