|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <PropertyBool.hpp>
类 ast::PropertyBool 继承关系图:Public 类型 | |
| using | InputType = bool |
| using | OutputType = bool |
Public 类型 继承自 ast::Property | |
| enum | EPropertyFlag { eReadable = 0x01 , eWritable = 0x02 } |
Public 成员函数 | |
| errc_t | getValueBool (const void *container, bool &value) override |
| errc_t | setValueBool (void *container, bool value) override |
| errc_t | getValueInt (const void *container, int &value) override |
| errc_t | setValueInt (void *container, int value) override |
| errc_t | getValueString (const void *container, std::string &value) override |
| errc_t | setValueString (void *container, StringView value) override |
| errc_t | getValueDouble (const void *container, double &value) override |
| errc_t | setValueDouble (void *container, double value) override |
| 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 | |
Public 成员函数 继承自 ast::Property | |
| Property (StringView name, StringView desc, FPropertyGet getter, FPropertySet setter) | |
| Property (FPropertyGet getter, FPropertySet setter) | |
Public 成员函数 继承自 ast::Field | |
| Field (StringView name, StringView desc="") | |
| const std::string & | name () const |
| void | setName (StringView name) |
| const std::string & | desc () const |
| void | setDesc (StringView desc) |
Protected 成员函数 | |
| A_ALWAYS_INLINE errc_t | setValue (void *container, const InputType *value) |
| A_ALWAYS_INLINE errc_t | getValue (const void *container, OutputType *value) |
Protected 成员函数 继承自 ast::Property | |
| A_ALWAYS_INLINE errc_t | getValue (void *container, void *value) |
| A_ALWAYS_INLINE errc_t | setValue (void *container, const void *value) |
额外继承的成员函数 | |
Protected 属性 继承自 ast::Property | |
| FPropertyGet | getter_ {nullptr} |
| FPropertySet | setter_ {nullptr} |
Protected 属性 继承自 ast::Field | |
| std::string | name_ |
| std::string | desc_ |
反射属性类(bool类型)
反射属性类(bool类型),包含属性的名称、描述等信息
|
overridevirtual |
|
inlineprotected |
获取属性值(bool类型)
| container | 容器指针 |
| value | 属性值指针 |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
获取属性值(String类型)
| container | 容器对象指针 |
| value | 指向std::string类型变量的引用,用于存储属性值 |
实现了 ast::Property.
|
inlineprotected |
设置属性值(bool类型)
| container | 容器指针 |
| value | 属性值指针 |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |