27 #ifndef RTTR_PARAMETER_INFO_H_
28 #define RTTR_PARAMETER_INFO_H_
30 #include "rttr/detail/base/core_prerequisites.h"
47 class parameter_info_wrapper_base;
49 static parameter_info create_param_info(
const T&);
108 class RTTR_API parameter_info
116 type get_type() const RTTR_NOEXCEPT;
123 bool has_default_value() const RTTR_NOEXCEPT;
131 variant get_default_value() const;
147 uint32_t get_index() const RTTR_NOEXCEPT;
154 bool operator==(const parameter_info& other) const RTTR_NOEXCEPT;
161 bool operator!=(const parameter_info& other) const RTTR_NOEXCEPT;
165 friend parameter_info detail::create_param_info(const T&);
167 parameter_info(const detail::parameter_info_wrapper_base* wrapper) RTTR_NOEXCEPT;
169 const detail::parameter_info_wrapper_base* m_wrapper;
174 #endif // RTTR_PARAMETER_INFO_H_