24#include "AstUtil/Quantity.hpp"
25#include "AstUtil/PropertyDouble.hpp"
26#include "AstUtil/Dimension.hpp"
46 errc_t
getValueString(
const void* container, std::string& value)
override;
static constexpr Dimension Unit()
获取单位量纲
定义 Dimension.hpp:363
双精度浮点数属性
定义 PropertyDouble.hpp:32
errc_t setValueString(void *container, StringView value) override
设置属性值(String类型)
定义 PropertyDouble.cpp:72
errc_t getValueString(const void *container, std::string &value) override
获取属性值(String类型)
定义 PropertyDouble.cpp:61
errc_t accept(PropertyVisitor &visitor, const void *container) override
接受访问者
定义 PropertyDouble.cpp:93
数量值属性
定义 PropertyQuantity.hpp:40
定义 PropertyVisitor.hpp:44
errc_t(* FPropertySet)(void *obj, void const *value)
设置属性值的函数指针
定义 ReflectAPI.hpp:59
errc_t(* FPropertyGet)(const void *obj, void *value)
获取属性值的函数指针
定义 ReflectAPI.hpp:58