12 template<
typename KeyType >
37 template<
typename KeyType >
44 template<
typename KeyType >
46 : m_path( propertyPath )
51 template<
typename KeyType >
55 auto& owner = finalPair.first;
56 auto& prop = finalPair.second;
58 return Serialization::GetPropertyValue< KeyType >( prop, owner );
61 template<
typename KeyType >
65 auto& owner = finalPair.first;
66 auto& prop = finalPair.second;
StringPropertyPath()
Definition: StringPropertyPath.h:38
KeyType
Definition: all_0.js:13
static std::pair< rttr::variant, rttr::property > GetProperty(EngineObject *object, const std::string &propertyPath, char separator= '/')
Definition: Properties.cpp:66
KeyType GetValue(EngineObject *object)
Definition: StringPropertyPath.h:52
void SetValue(EngineObject *object, KeyType &value)
Definition: StringPropertyPath.h:62
~StringPropertyPath()=default
Klasa bazowa dla obiektów, które mają być dostępne w edytorze poprzez rttr. Należy po niej odziedzicz...
Definition: EngineObject.h:22
static void SetPropertyValue(rttr::property prop, const rttr::instance &object, PropertyType value)
Ustawia wartość podanej właściwości.
Definition: Serialization.inl:50
Definition: StringPropertyPath.h:13
std::string m_path
Definition: StringPropertyPath.h:16