20 : m_metaInfo( metaInfo )
21 , m_ownerObj( object )
26 : m_ownerObj( object )
37 template<
typename ClassType,
typename ParamType >
40 return static_cast< const rttr::detail::property_wrapper_member_base< ClassType, ParamType >*
>( m_metaInfo.m_wrapper )->GetPtr();
46 template<
typename PropertyType >
67 auto memberPtr = GetMemberPointer< IEnableProperty, PropertyType >();
71 inline operator PropertyType&()
75 auto memberPtr = GetMemberPointer< IEnableProperty, PropertyType >();
std::string GetPropertyName()
Definition: Property.h:29
Definition: IEnableProperty.h:7
IProperty(IEnableProperty *object)
Tworzy niepoprawny obiekt IProperty.
Definition: Property.h:25
&RenderTargetObject::m_colorBuffer property("DepthBuffer",&RenderTargetObject::m_depthBuffer).property("StencilBuffer"
const rttr::property m_metaInfo
Definition: Property.h:14
rttr::type GetPropertyType()
Definition: Property.h:30
Property(const rttr::property metaInfo, IEnableProperty *object)
Definition: Property.h:52
bool IsValid()
Definition: Property.h:32
IEnableProperty * m_ownerObj
Definition: Property.h:15
Definition: Property.h:47
PropertyType & operator()(void)
Definition: Property.h:63
IProperty(const rttr::property metaInfo, IEnableProperty *object)
Definition: Property.h:19
Definition: Property.h:10
ParamType ClassType::* GetMemberPointer()
Definition: Property.h:38
Property(IEnableProperty *object)
Tworzy niepoprawny obiekt Property.
Definition: Property.h:59