Definition at line 29 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 |
◆ getA()
virtual int A::getA |
( |
| ) |
const |
|
pure virtual |
◆ getA2()
virtual const int& A::getA2 |
( |
| ) |
const |
|
inlinevirtual |
◆ getPoint()
const wxPoint& A::getPoint |
( |
| ) |
const |
|
inline |
◆ getPoint2()
wxPoint A::getPoint2 |
( |
| ) |
const |
|
inline |
◆ getPoint3()
◆ getPoint4()
const wxPoint& A::getPoint4 |
( |
| ) |
const |
|
inline |
◆ 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().
◆ setA()
virtual void A::setA |
( |
int |
a | ) |
|
|
pure virtual |
◆ setPoint()
virtual void A::setPoint |
( |
const wxPoint & |
p | ) |
|
|
inlinevirtual |
◆ setPoint2()
void A::setPoint2 |
( |
wxPoint & |
p | ) |
|
|
inline |
◆ setPoint3()
void A::setPoint3 |
( |
wxPoint |
p | ) |
|
|
inline |
◆ setPoint4()
void A::setPoint4 |
( |
wxPoint |
p | ) |
|
|
inline |
◆ m_a
◆ m_p
The documentation for this class was generated from the following file: