🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
Escape.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include <string>
25
26AST_NAMESPACE_BEGIN
27
39AST_UTIL_API std::string aCUnescape(StringView source);
40
41
42
53AST_UTIL_API std::string aCEscape(StringView src);
54
55
72AST_UTIL_API std::string aQuote(StringView src);
73
74
95AST_UTIL_API std::string aUnquote(StringView src);
96
97
98
104AST_UTIL_API void aUnescapeXML(StringView& str, std::string& result);
105
106
112AST_UTIL_API std::string aUnescapeXML(StringView src);
113
116AST_NAMESPACE_END
std::string aCUnescape(StringView source)
解析C风格转义序列
定义 Escape.cpp:69
void aUnescapeXML(StringView &str, std::string &result)
解析XML转义序列
定义 Escape.cpp:256