This class is an abstract definition of a unicode text, it can be converted from and to any kind of string and encoding.
More...
#include <SFML/System/Unicode.hpp>
This class is an abstract definition of a unicode text, it can be converted from and to any kind of string and encoding.
Definition at line 63 of file Unicode.hpp.
◆ Text() [1/11]
| sf::Unicode::Text::Text |
( |
| ) |
|
Default constructor (empty text).
◆ Text() [2/11]
| sf::Unicode::Text::Text |
( |
const char * | Str | ) |
|
Construct the unicode text from any type of string.
- Parameters
-
◆ Text() [3/11]
| sf::Unicode::Text::Text |
( |
const wchar_t * | Str | ) |
|
◆ Text() [4/11]
| sf::Unicode::Text::Text |
( |
const Uint8 * | Str | ) |
|
◆ Text() [5/11]
| sf::Unicode::Text::Text |
( |
const Uint16 * | Str | ) |
|
◆ Text() [6/11]
| sf::Unicode::Text::Text |
( |
const Uint32 * | Str | ) |
|
◆ Text() [7/11]
| sf::Unicode::Text::Text |
( |
const std::string & | Str | ) |
|
◆ Text() [8/11]
| sf::Unicode::Text::Text |
( |
const std::wstring & | Str | ) |
|
◆ Text() [9/11]
◆ Text() [10/11]
◆ Text() [11/11]
◆ operator const Unicode::UTF32String &()
◆ operator std::string()
| sf::Unicode::Text::operator std::string |
( |
| ) |
const |
Operator to cast the text to any type of string.
- Returns
- Converted string
◆ operator std::wstring()
| sf::Unicode::Text::operator std::wstring |
( |
| ) |
const |
◆ operator Unicode::UTF16String()
◆ operator Unicode::UTF8String()
The documentation for this class was generated from the following file: