🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
SourceLocation.hpp 文件参考
#include "AstGlobal.h"

浏览该文件的源代码.

命名空间

namespace  ast
 

宏定义

#define A_SOURCE_FILE_PATH   _AST extract_after_last_dotdot(__FILE__)
 
#define A_SOURCE_FILE_NAME   _AST extract_filename(__FILE__)
 
#define A_SOURCE_LINE   __LINE__
 
#define A_SOURCE_FUNC   __FUNCTION__
 

函数

constexpr bool ast::is_sep (char c)
 
constexpr const char * ast::extract_after_last_dotdot_impl (const char *str, const char *last, const char *orig)
 
constexpr const char * ast::extract_after_last_dotdot (const char *str)
 
constexpr const char * ast::extract_filename_impl (const char *str, const char *last, const char *orig)
 
constexpr const char * ast::extract_filename (const char *str, const char *last_sep_pos=nullptr)
 

详细描述



作者
axel
日期
2026-09-09

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

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

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