|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <SatelliteDatabaseQuery.hpp>
Public 成员函数 | |
| SatelliteDatabaseQuery () | |
| ~SatelliteDatabaseQuery () | |
| void | setMission (StringView pattern) |
| void | setCommonName (StringView pattern) |
| const std::string & | mission () const |
| const std::string & | commonName () const |
| bool | matches (const SatelliteDatabaseEntry &entry) const |
| bool | isEmpty () const |
卫星数据库查询条件
支持按任务类别(mission)和通用名称(commonName)进行子串匹配过滤。 对应 STK Components 中的 StkSatelliteDatabaseQuery。
| bool ast::SatelliteDatabaseQuery::matches | ( | const SatelliteDatabaseEntry & | entry | ) | const |
判断给定条目是否匹配当前查询条件
| entry | 待检查的数据库条目 |
| void ast::SatelliteDatabaseQuery::setCommonName | ( | StringView | pattern | ) |
按通用名称过滤
| pattern | 子串匹配模式,空字符串表示不按此字段过滤。 |
| void ast::SatelliteDatabaseQuery::setMission | ( | StringView | pattern | ) |
按任务类别过滤
| pattern | 子串匹配模式,空字符串表示不按此字段过滤。 |