Sleeping Wombat GUI  0.100
swGUI
Static Public Member Functions | List of all members
Properties Class Reference

#include <Properties.h>

Static Public Member Functions

static std::vector< rttr::propertyGetPropertyPath (EngineObject *object, const std::string &propertyPath, char separator= '/')
 
static std::vector< rttr::propertyGetPropertyPath (rttr::variant object, const std::string &propertyPath, Size offset=0, char separator= '/')
 
static std::pair< rttr::variant, rttr::propertyGetProperty (EngineObject *object, const std::string &propertyPath, char separator= '/')
 
static std::pair< rttr::variant, rttr::propertyGetProperty (rttr::variant object, const std::string &propertyPath, Size offset=0, char separator= '/')
 
static std::pair< rttr::variant, rttr::propertyGetProperty (EngineObject *object, const std::vector< rttr::property > &propertyPath)
 
template<typename Type >
static Type GetValue (EngineObject *object, const std::vector< rttr::property > &propertyPath)
 
static rttr::property EmptyProperty ()
 
static TypeID GetRealType (rttr::variant &object)
 Gets real type of object. If class inherited EngineObject, we can check it's real type. More...
 
static TypeID GetRealType (EngineObject *object)
 Gets real type of object. If class inherited EngineObject, we can check it's real type. More...
 

Member Function Documentation

rttr::property Properties::EmptyProperty ( )
static
std::pair< rttr::variant, rttr::property > Properties::GetProperty ( EngineObject object,
const std::string &  propertyPath,
char  separator = '/' 
)
static
std::pair< rttr::variant, rttr::property > Properties::GetProperty ( rttr::variant  object,
const std::string &  propertyPath,
Size  offset = 0,
char  separator = '/' 
)
static
std::pair< rttr::variant, rttr::property > Properties::GetProperty ( EngineObject object,
const std::vector< rttr::property > &  propertyPath 
)
static
std::vector< rttr::property > Properties::GetPropertyPath ( EngineObject object,
const std::string &  propertyPath,
char  separator = '/' 
)
static
std::vector< rttr::property > Properties::GetPropertyPath ( rttr::variant  object,
const std::string &  propertyPath,
Size  offset = 0,
char  separator = '/' 
)
static
TypeID Properties::GetRealType ( rttr::variant &  object)
static

Gets real type of object. If class inherited EngineObject, we can check it's real type.

TypeID Properties::GetRealType ( EngineObject object)
static

Gets real type of object. If class inherited EngineObject, we can check it's real type.

template<typename Type >
Type Properties::GetValue ( EngineObject object,
const std::vector< rttr::property > &  propertyPath 
)
inlinestatic

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