|
MyGUI 3.5.3
|
Namespaces | |
| namespace | templates |
Functions | |
| std::filesystem::path | toPath (std::string_view text) |
| Convert UTF-8 bytes to a native filesystem path. | |
| std::filesystem::path | toPath (const char *text) |
| Convert null-terminated UTF-8 bytes to a native filesystem path. | |
| std::filesystem::path | toPath (const std::string &text) |
| Convert UTF-8 bytes to a native filesystem path. | |
| std::filesystem::path | toPath (const UString &text) |
| Convert Unicode text to a native filesystem path. | |
| std::string | toUtf8 (const std::filesystem::path &path) |
| Convert a filesystem path to UTF-8 bytes. | |
| template<typename T> | |
| __attribute__((visibility("default"))) void trim(std std::string | toString (T _value) |
| template<> | |
| template __attribute__((visibility("default"))) std template __attribute__((visibility("default"))) std template __attribute__((visibility("default"))) std __attribute__((visibility("default"))) const std std::string | toString (std::string_view _value) |
| template<typename... Args> | |
| std::string | toString (Args &&... args) |
| template<> | |
| std::string | toString< bool > (bool _value) |
| template<typename T> | |
| T | parseValue (std::string_view value) |
| template<> | |
| template __attribute__((visibility("default"))) int parseValue< int >(std template __attribute__((visibility("default"))) size_t parseValue< size_t >(std template __attribute__((visibility("default"))) float parseValue< float >(std template __attribute__((visibility("default"))) types template __attribute__((visibility("default"))) types template __attribute__((visibility("default"))) types template __attribute__((visibility("default"))) types template __attribute__((visibility("default"))) types template __attribute__((visibility("default"))) types template __attribute__((visibility("default"))) types bool | parseValue (std::string_view _value) |
| template<> | |
| char | parseValue (std::string_view _value) |
| template<> | |
| unsigned char | parseValue (std::string_view _value) |
| template<typename... Args> | |
| __attribute__((visibility("default"))) int parseInt(std __attribute__((visibility("default"))) unsigned int parseUInt(std __attribute__((visibility("default"))) size_t parseSizeT(std __attribute__((visibility("default"))) float parseFloat(std __attribute__((visibility("default"))) double parseDouble(std __attribute__((visibility("default"))) bool parseBool(std __attribute__((visibility("default"))) std bool | parseComplex (std::string_view _value, Args &... args) |
| template<> | |
| bool | parseComplex< bool > (std::string_view _value, bool &arg) |
| template MYGUI_EXPORT std::string | toString< int > (int) |
| template MYGUI_EXPORT std::string | toString< size_t > (size_t) |
| template MYGUI_EXPORT std::string | toString< float > (float) |
| template MYGUI_EXPORT int | parseValue< int > (std::string_view) |
| template MYGUI_EXPORT size_t | parseValue< size_t > (std::string_view) |
| template MYGUI_EXPORT float | parseValue< float > (std::string_view) |
| template MYGUI_EXPORT types::TPoint< int > | parseValue< types::TPoint< int > > (std::string_view) |
| template MYGUI_EXPORT types::TPoint< float > | parseValue< types::TPoint< float > > (std::string_view) |
| template MYGUI_EXPORT types::TSize< int > | parseValue< types::TSize< int > > (std::string_view) |
| template MYGUI_EXPORT types::TSize< float > | parseValue< types::TSize< float > > (std::string_view) |
| template MYGUI_EXPORT types::TRect< int > | parseValue< types::TRect< int > > (std::string_view) |
| template MYGUI_EXPORT types::TCoord< int > | parseValue< types::TCoord< int > > (std::string_view) |
| template MYGUI_EXPORT types::TCoord< float > | parseValue< types::TCoord< float > > (std::string_view) |
| void | trim (std::string &_str, bool _left, bool _right) |
| const std::string & | toString (const std::string &_value) |
| int | parseInt (std::string_view _value) |
| unsigned int | parseUInt (std::string_view _value) |
| size_t | parseSizeT (std::string_view _value) |
| float | parseFloat (std::string_view _value) |
| double | parseDouble (std::string_view _value) |
| bool | parseBool (std::string_view _value) |
| std::vector< std::string > | split (std::string_view _source, std::string_view _delims) |
| bool | startWith (std::string_view _source, std::string_view _value) |
| bool | endWith (std::string_view _source, std::string_view _value) |
| bool MyGUI::utility::endWith | ( | std::string_view | _source, |
| std::string_view | _value ) |
Definition at line 126 of file MyGUI_StringUtility.cpp.
| bool MyGUI::utility::parseBool | ( | std::string_view | _value | ) |
Definition at line 67 of file MyGUI_StringUtility.cpp.
|
inline |
Definition at line 129 of file MyGUI_StringUtility.h.
|
inline |
Definition at line 151 of file MyGUI_StringUtility.h.
| double MyGUI::utility::parseDouble | ( | std::string_view | _value | ) |
Definition at line 62 of file MyGUI_StringUtility.cpp.
| float MyGUI::utility::parseFloat | ( | std::string_view | _value | ) |
Definition at line 57 of file MyGUI_StringUtility.cpp.
| int MyGUI::utility::parseInt | ( | std::string_view | _value | ) |
Definition at line 42 of file MyGUI_StringUtility.cpp.
| size_t MyGUI::utility::parseSizeT | ( | std::string_view | _value | ) |
Definition at line 52 of file MyGUI_StringUtility.cpp.
| unsigned int MyGUI::utility::parseUInt | ( | std::string_view | _value | ) |
Definition at line 47 of file MyGUI_StringUtility.cpp.
|
inline |
Definition at line 113 of file MyGUI_StringUtility.h.
|
inline |
Definition at line 106 of file MyGUI_StringUtility.h.
|
externinline |
Definition at line 99 of file MyGUI_StringUtility.h.
| T MyGUI::utility::parseValue | ( | std::string_view | value | ) |
Definition at line 70 of file MyGUI_StringUtility.h.
| template MYGUI_EXPORT float MyGUI::utility::parseValue< float > | ( | std::string_view | ) |
| template MYGUI_EXPORT int MyGUI::utility::parseValue< int > | ( | std::string_view | ) |
| template MYGUI_EXPORT size_t MyGUI::utility::parseValue< size_t > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TCoord< float > MyGUI::utility::parseValue< types::TCoord< float > > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TCoord< int > MyGUI::utility::parseValue< types::TCoord< int > > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TPoint< float > MyGUI::utility::parseValue< types::TPoint< float > > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TPoint< int > MyGUI::utility::parseValue< types::TPoint< int > > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TRect< int > MyGUI::utility::parseValue< types::TRect< int > > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TSize< float > MyGUI::utility::parseValue< types::TSize< float > > | ( | std::string_view | ) |
| template MYGUI_EXPORT types::TSize< int > MyGUI::utility::parseValue< types::TSize< int > > | ( | std::string_view | ) |
| std::vector< std::string > MyGUI::utility::split | ( | std::string_view | _source, |
| std::string_view | _delims ) |
Definition at line 104 of file MyGUI_StringUtility.cpp.
| bool MyGUI::utility::startWith | ( | std::string_view | _source, |
| std::string_view | _value ) |
Definition at line 109 of file MyGUI_StringUtility.cpp.
|
inline |
Convert null-terminated UTF-8 bytes to a native filesystem path.
Definition at line 28 of file MyGUI_FileSystemUtility.h.
|
inline |
Convert UTF-8 bytes to a native filesystem path.
Definition at line 34 of file MyGUI_FileSystemUtility.h.
|
inline |
Convert Unicode text to a native filesystem path.
Definition at line 40 of file MyGUI_FileSystemUtility.h.
|
inline |
Convert UTF-8 bytes to a native filesystem path.
Definition at line 19 of file MyGUI_FileSystemUtility.h.
|
inline |
Definition at line 55 of file MyGUI_StringUtility.h.
| const std::string & MyGUI::utility::toString | ( | const std::string & | _value | ) |
Definition at line 37 of file MyGUI_StringUtility.cpp.
|
externinline |
Definition at line 49 of file MyGUI_StringUtility.h.
|
inline |
Definition at line 34 of file MyGUI_StringUtility.h.
|
inline |
Definition at line 63 of file MyGUI_StringUtility.h.
| template MYGUI_EXPORT std::string MyGUI::utility::toString< float > | ( | float | ) |
| template MYGUI_EXPORT std::string MyGUI::utility::toString< int > | ( | int | ) |
| template MYGUI_EXPORT std::string MyGUI::utility::toString< size_t > | ( | size_t | ) |
|
inline |
Convert a filesystem path to UTF-8 bytes.
Definition at line 46 of file MyGUI_FileSystemUtility.h.
| void MyGUI::utility::trim | ( | std::string & | _str, |
| bool | _left, | ||
| bool | _right ) |
Definition at line 29 of file MyGUI_StringUtility.cpp.