🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
TestConfig.cpp 文件参考
#include "TestConfig.hpp"
#include "AstCore/RunTime.hpp"
#include "AstUtil/FileSystem.hpp"
#include "AstUtil/Posix.hpp"
#include <memory>

命名空间

namespace  ast
 

宏定义

#define AST_DEFAULT_TEST_CONFIG_PATH   AST_PROJECT_NAME "_testconfig_file.txt"
 
#define AST_ENV_TEST_DATA_DIR   "AST_TEST_DATA_DIR"
 

函数

std::string ast::aTestDataDirGet ()
 
std::shared_ptr< StartupConfig > ast::aTestLoadConfig ()
 
StartupConfig * ast::aTestGetConfig ()
 
ValueView ast::aTestGetConfigValue (StringView key)
 
std::vector< std::string > ast::aTestGetConfigStringVector (StringView key)
 
std::vector< StringView > ast::aTestGetConfigStringViewVector (StringView key)
 

详细描述



作者
axel
日期
2026-03-21

SpaceAST项目(https://github.com/space-ast/ast) 本项目基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:

http://www.apache.org/licenses/LICENSE-2.0

重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。