FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
string.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI ftxui:: 名前空間
 

Functions

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)
 
return static_cast< int > (input.size())
 
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< WordBreakProperty > Utf8ToWordBreakProperty (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に変換します。
 

Variables

return size
 

Function Documentation

◆ GlyphIterate()

size_t GlyphIterate ( const std::string & input,
int glyph_offset,
size_t start )

Definition at line 1438 of file string.cpp.

◆ CellToGlyphIndex()

std::vector< int > CellToGlyphIndex ( const std::string & input)

Definition at line 1452 of file string.cpp.

◆ GlyphCount()

int GlyphCount ( const std::string & input)

Definition at line 1493 of file string.cpp.

◆ Utf8ToWordBreakProperty()

std::vector< WordBreakProperty > Utf8ToWordBreakProperty ( const std::string & input)

Definition at line 1519 of file string.cpp.

◆ to_string()

std::string to_string ( const std::wstring & s)

std::wstringをUTF8 std::stringに変換します。

Definition at line 1551 of file string.cpp.

◆ to_wstring()

std::wstring to_wstring ( const std::string & s)

UTF8 std::stringをstd::wstringに変換します。

Definition at line 1623 of file string.cpp.

Variable Documentation

◆ size