34 using Property::Property;
35 using OutputType =
void*;
36 using InputType = void;
43 errc_t
setValue(
void* container,
const InputType* value)
45 return setter_(container, value);
52 errc_t
getValue(
void* container, OutputType* value)
54 return getter_(container, value);
结构体属性
定义 PropertyStruct.hpp:32
A_ALWAYS_INLINE errc_t getValue(void *container, OutputType *value)
获取属性值(结构体类型)
定义 PropertyStruct.hpp:52
A_ALWAYS_INLINE errc_t setValue(void *container, const InputType *value)
设置属性值(结构体类型)
定义 PropertyStruct.hpp:43
定义 PropertyVisitor.hpp:44
virtual errc_t accept(PropertyVisitor &visitor, const void *container)=0
接受访问者