Definition at line 64 of file test_property.cpp.
◆ Get() [1/3]
◆ Get() [2/3]
◆ Get() [3/3]
template<typename T >
boost::optional<T> INSPECTABLE::Get |
( |
const wxString & |
aProperty | ) |
|
|
inlineinherited |
◆ getBool()
bool C::getBool |
( |
| ) |
const |
|
inline |
◆ getNew()
◆ Set() [1/3]
bool INSPECTABLE::Set |
( |
PROPERTY_BASE * |
aProperty, |
|
|
wxAny & |
aValue |
|
) |
| |
|
inlineinherited |
◆ Set() [2/3]
◆ Set() [3/3]
template<typename T >
bool INSPECTABLE::Set |
( |
const wxString & |
aProperty, |
|
|
T |
aValue |
|
) |
| |
|
inlineinherited |
Definition at line 68 of file inspectable.h.
73 void*
object =
nullptr;
80 prop->
set<T>( object, aValue );
83 return object !=
nullptr;
static PROPERTY_MANAGER & Instance()
size_t TYPE_ID
Unique type identifier.
const void * TypeCast(const void *aSource, TYPE_ID aBase, TYPE_ID aTarget) const
Cast a type to another type.
PROPERTY_BASE * GetProperty(TYPE_ID aType, const wxString &aProperty) const
Return a property for a specific type.
Provide class metadata.Helper macro to map type hashes to names.
void set(void *aObject, T aValue)
virtual size_t OwnerHash() const =0
Return type-id of the Owner class.
References PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_BASE::OwnerHash(), PROPERTY_BASE::set(), TYPE_HASH, and PROPERTY_MANAGER::TypeCast().
◆ setBool()
void C::setBool |
( |
bool |
a | ) |
|
|
inline |
◆ setNew()
◆ m_bool
◆ m_m
The documentation for this class was generated from the following file: