Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Private Attributes | List of all members
DirectProperty< KeyType > Class Template Reference

#include <DirectPropertyh.h>

Public Member Functions

 DirectProperty ()
 Constructor for serialization. More...
 
 DirectProperty (EngineObject *object, const std::string &propertyPath)
 
 ~DirectProperty ()=default
 
KeyType GetValue (EngineObject *object)
 
void SetValue (EngineObject *object, KeyType &value)
 

Private Attributes

rttr::property m_property
 
rttr::variant m_object
 

Constructor & Destructor Documentation

template<typename KeyType >
DirectProperty< KeyType >::DirectProperty ( )
inlineexplicit

Constructor for serialization.

template<typename KeyType >
DirectProperty< KeyType >::DirectProperty ( EngineObject object,
const std::string &  propertyPath 
)
inlineexplicit
template<typename KeyType >
DirectProperty< KeyType >::~DirectProperty ( )
default

Member Function Documentation

template<typename KeyType >
KeyType DirectProperty< KeyType >::GetValue ( EngineObject object)
inline
template<typename KeyType >
void DirectProperty< KeyType >::SetValue ( EngineObject object,
KeyType value 
)
inline

Member Data Documentation

template<typename KeyType >
rttr::variant DirectProperty< KeyType >::m_object
private
Todo:
Change to typed pointer some way.
template<typename KeyType >
rttr::property DirectProperty< KeyType >::m_property
private

The documentation for this class was generated from the following file: