|
🛰️航天仿真算法库 SpaceAST 0.3.1
|
#include "TimelinePrefsLoader.hpp"#include "AstLoader/ScenarioLoader.hpp"#include "AstUtil/XMLNode.hpp"#include "AstUtil/Logger.hpp"#include "AstUtil/StringUtil.hpp"#include "AstUtil/StringView.hpp"命名空间 | |
| namespace | ast |
函数 | |
| errc_t | ast::aLoadTimeLinePrefs (XMLNode &root, TimelinePrefs &prefs) |
| errc_t | ast::aLoadTimeLinePrefsXML (StringView filepath, TimelinePrefs &prefs) |
| errc_t | ast::aLoadTimeLinePrefs (StringView filepath, TimelinePrefs &prefs) |
时间线视图偏好加载器实现
使用 XMLNode(DOM)解析 STK 时间线偏好文件, 将 <Views Type="Content"> 下的 <Row> 及其 <Interval> 子元素填充到 TimelinePrefs::Row 将 <Views Type="Time"> 下的 <TimeView> 的全局起止时间填充到 TimelinePrefs::globalInterval_
SpaceAST项目(https://github.com/space-ast/ast) 本软件基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:
http://www.apache.org/licenses/LICENSE-2.0
重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。