16 template<
typename KeyType >
20 std::vector< rttr::property >
m_path;
39 template<
typename KeyType >
45 template<
typename KeyType >
47 : m_path(
Properties::GetPropertyPath( object, propertyPath ) )
52 template<
typename KeyType >
56 auto& owner = finalPair.first;
57 auto& prop = finalPair.second;
59 return Serialization::GetPropertyValue< KeyType >( prop, owner );
64 template<
typename KeyType >
68 auto& owner = finalPair.first;
69 auto& prop = finalPair.second;
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
std::vector< rttr::property > m_path
Definition: PropertyPath.h:20
void SetValue(EngineObject *object, KeyType &value)
Definition: PropertyPath.h:65
Klasa bazowa dla obiektów, które mają być dostępne w edytorze poprzez rttr. Należy po niej odziedzicz...
Definition: EngineObject.h:22
Definition: PropertyPath.h:17
PropertyPath()
Constructor for serialization.
Definition: PropertyPath.h:40
KeyType GetValue(EngineObject *object)
Definition: PropertyPath.h:53
static void SetPropertyValue(rttr::property prop, const rttr::instance &object, PropertyType value)
Ustawia wartość podanej właściwości.
Definition: Serialization.inl:50
Definition: Properties.h:10