🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ParseFormat.cpp 文件参考
#include "ParseFormat.hpp"
#include "AstUtil/Color.hpp"
#include "AstUtil/String.hpp"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <sstream>
#include <string>
#include <iomanip>
#include <climits>
#include <cmath>

命名空间

namespace  ast
 

函数

errc_t ast::aParseBool (StringView str, bool &value)
 
errc_t ast::aParseInt (StringView str, int &value)
 
errc_t ast::_aParseInt_LibC_1 (StringView str, int &value)
 
errc_t ast::_aParseInt_LibC_2 (StringView sv, int &value)
 
errc_t ast::_aParseInt_LibC_3 (StringView sv, int &value)
 
errc_t ast::_aParseInt_Simple (StringView str, int &value)
 
errc_t ast::_aParseInt_StringStream (StringView str, int &value)
 
errc_t ast::_aParseInt_Scanf (StringView str, int &value)
 
errc_t ast::aParseDouble (StringView str, double &value)
 
errc_t ast::aParseFortranDouble (StringView str, double &value)
 
errc_t ast::_aParseFortranDouble_1 (StringView sv, double &value)
 
errc_t ast::_aParseFortranDouble_2 (StringView sv, double &value)
 
errc_t ast::_aParseDouble_LibC_1 (StringView str, double &value)
 
errc_t ast::_aParseDouble_LibC_3 (StringView sv, double &value)
 
errc_t ast::_aParseDouble_LibC_2 (StringView sv, double &value)
 
errc_t ast::_aParseDouble_StringStream (StringView str, double &value)
 
errc_t ast::_aParseDouble_Scanf (StringView str, double &value)
 
errc_t ast::aParseColor (StringView str, Color &value)
 
void ast::aFormatBool (bool value, std::string &str)
 
errc_t ast::aFormatInt (int value, std::string &str)
 
errc_t ast::aFormatDouble_Printf (double value, std::string &str, int precision)
 
errc_t ast::aFormatDouble (double value, std::string &str, int precision=kDefaultFormatDoubleEps)
 
errc_t ast::aFormatColor (Color value, std::string &str)
 

详细描述

~

~

作者
axel
日期
2025-12-10

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

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

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