FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
string.cpp 文件参考

浏览该文件的源代码.

命名空间

namespace  ftxui
 #include "ftxui/component/component_base.hpp" // 用于 ComponentBase
 

函数

bool EatCodePoint (const std::string &input, size_t start, size_t *end, uint32_t *ucs)
 
bool EatCodePoint (const std::wstring &input, size_t start, size_t *end, uint32_t *ucs)
 
bool IsCombining (uint32_t ucs)
 
bool IsFullWidth (uint32_t ucs)
 
bool IsControl (uint32_t ucs)
 
WordBreakProperty CodepointToWordBreakProperty (uint32_t codepoint)
 
int wchar_width (wchar_t)
 
int wstring_width (const std::wstring &)
 
int string_width (const std::string &)
 
std::vector< std::string > Utf8ToGlyphs (const std::string &input)
 
size_t GlyphPrevious (const std::string &input, size_t start)
 
size_t GlyphNext (const std::string &input, size_t start)
 
size_t GlyphIterate (const std::string &input, int glyph_offset, size_t start)
 
std::vector< int > CellToGlyphIndex (const std::string &input)
 
int GlyphCount (const std::string &input)
 
std::vector< WordBreakPropertyUtf8ToWordBreakProperty (const std::string &input)
 
std::string to_string (const std::wstring &s)
 将 std::wstring 转换为 UTF8 std::string。
 
std::wstring to_wstring (const std::string &s)
 将 UTF8 std::string 转换为 std::wstring。