24#include "AstUtil/Property.hpp"
25#include "AstCore/TimePoint.hpp"
42 using Property::Property;
43 errc_t getValueBool(
const void* container,
bool& value)
override;
44 errc_t setValueBool(
void* container,
bool value)
override;
45 errc_t getValueInt(
const void* container,
int& value)
override;
46 errc_t setValueInt(
void* container,
int value)
override;
47 errc_t getValueDouble(
const void* container,
double& value)
override;
48 errc_t setValueDouble(
void* container,
double value)
override;
49 errc_t getValueString(
const void* container, std::string& value)
override;
50 errc_t setValueString(
void* container,
StringView value)
override;
56 errc_t accept(
PropertyVisitor& visitor,
const void* container)
override;
64 return setter_(container, value);
72 return getter_(container, value);
时间点属性
定义 PropertyTimePoint.hpp:37
errc_t getValue(const void *container, OutputType *value)
获取属性值(时间点类型)
定义 PropertyTimePoint.hpp:70
errc_t setValue(void *container, const InputType *value)
设置属性值(时间点类型)
定义 PropertyTimePoint.hpp:62
定义 PropertyVisitor.hpp:44
绝对时间点
定义 TimePoint.hpp:106