🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::TLEDatabase类 参考

#include <TLEDatabase.hpp>

+ 类 ast::TLEDatabase 继承关系图:

Public 类型

using Entry = TLE
 
using EntryList = std::vector<TLE>
 

Public 成员函数

 TLEDatabase (StringView filePath)
 
errc_t load (StringView filePath)
 
errc_t reload ()
 
bool isLoaded () const
 
const EntryList & getEntries () const
 
EntryList getEntries (const TLEDatabaseQuery &query) const
 
size_t size () const
 
const std::string & filePath () const
 
- Public 成员函数 继承自 ast::Database

详细描述

TLE 数据库

继承自 Database,可解析标准 TLE 文本文件(支持 2 行和 3 行格式)。

  • 3 行格式:名称行 + 第 1 行 + 第 2 行
  • 2 行格式:第 1 行 + 第 2 行(无名称行)
  • 格式通过行首字符 '1' / '2' 自动检测

该类的文档由以下文件生成: