|
🛰️航天仿真算法库 SpaceAST 0.3.1
|
类 | |
| class | ast::TimelinePrefs |
函数 | |
| errc_t | ast::aLoadTimeLinePrefs (StringView filepath, TimelinePrefs &prefs) |
| errc_t | ast::aLoadTimeLinePrefs (XMLNode &root, TimelinePrefs &prefs) |
| errc_t | ast::aLoadReportStyle (StringView filepath, ReportStyle &report) |
| errc_t | ast::aLoadReportStyle (BKVParser &parser, ReportStyle &report) |
| AST_LOADER_API errc_t ast::aLoadReportStyle | ( | BKVParser & | parser, |
| ReportStyle & | report ) |
| AST_LOADER_API errc_t ast::aLoadReportStyle | ( | StringView | filepath, |
| ReportStyle & | report ) |
从文件路径加载报表样式
从文件加载报表样式
| filepath | 文件路径(.rst 或 .rsg 文件) |
| report | [out] 报表样式数据 |
| AST_LOADER_API errc_t ast::aLoadTimeLinePrefs | ( | StringView | filepath, |
| TimelinePrefs & | prefs ) |
从文件路径或场景路径加载时间线视图偏好
从 XML 文件加载时间线视图偏好
入参有两种形式:
| filepath | 文件路径(*TimelinePrefs.xml) | |
| [out] | prefs | 时间线偏好数据 |
| AST_LOADER_API errc_t ast::aLoadTimeLinePrefs | ( | XMLNode & | root, |
| TimelinePrefs & | prefs ) |
从已解析的 XML 根节点加载时间线视图偏好
| root | 已解析的 XML 根节点(应为 TimelineLine_Prefs 元素) | |
| [out] | prefs | 时间线偏好数据 |