MyGUI 3.5.3
MyGUI_FileSystemUtility.h File Reference
#include "MyGUI_UString.h"
#include <filesystem>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  MyGUI
namespace  MyGUI::utility

Functions

std::filesystem::path MyGUI::utility::toPath (std::string_view text)
 Convert UTF-8 bytes to a native filesystem path.
std::filesystem::path MyGUI::utility::toPath (const char *text)
 Convert null-terminated UTF-8 bytes to a native filesystem path.
std::filesystem::path MyGUI::utility::toPath (const std::string &text)
 Convert UTF-8 bytes to a native filesystem path.
std::filesystem::path MyGUI::utility::toPath (const UString &text)
 Convert Unicode text to a native filesystem path.
std::string MyGUI::utility::toUtf8 (const std::filesystem::path &path)
 Convert a filesystem path to UTF-8 bytes.