|
| errc_t | accept (PropertyVisitor &visitor, const void *container) override |
| |
|
| Property (StringView name, StringView desc, FPropertyGet getter, FPropertySet setter) |
| |
|
| Property (FPropertyGet getter, FPropertySet setter) |
| |
|
| Property ()=default |
| |
|
| Property (StringView name, StringView desc, FPropertyGet getter, FPropertySet setter) |
| |
|
| Property (FPropertyGet getter, FPropertySet setter) |
| |
| virtual errc_t | getValueDouble (const void *container, double &value)=0 |
| |
| virtual errc_t | setValueDouble (void *container, double value)=0 |
| |
| virtual errc_t | getValueInt (const void *container, int &value)=0 |
| |
| virtual errc_t | setValueInt (void *container, int value)=0 |
| |
| virtual errc_t | getValueBool (const void *container, bool &value)=0 |
| |
| virtual errc_t | setValueBool (void *container, bool value)=0 |
| |
| virtual errc_t | getValueString (const void *container, std::string &value)=0 |
| |
| virtual errc_t | setValueString (void *container, StringView value)=0 |
| |
|
| Field (StringView name, StringView desc="") |
| |
|
const std::string & | name () const |
| |
| void | setName (StringView name) |
| |
|
const std::string & | desc () const |
| |
| void | setDesc (StringView desc) |
| |
反射属性类(对象类型)
反射属性类(对象类型),包含属性的名称、描述等信息