|
Safir SDK Core
|
#include <Safir/Dob/Typesystem/Utilities.h>Go to the source code of this file.
Functions | |
| auto | Str (const std::wstring &wstr) |
| Convenience function for calling Safir::Dob::Typesystem::Utilities::ToUtf8 but without all the long namespacing. | |
| auto | Wstr (const std::string &str) |
| Convenience function for calling Safir::Dob::Typesystem::Utilities::ToWstring but without all the long namespacing. | |
| auto Str | ( | const std::wstring & | wstr | ) |
Convenience function for calling Safir::Dob::Typesystem::Utilities::ToUtf8 but without all the long namespacing.
Convert a std::wstring to UTF8-encoded std::string.
| wstr | [in] - The wstring to convert. |
References Safir::Dob::Typesystem::Utilities::ToUtf8().
| auto Wstr | ( | const std::string & | str | ) |
Convenience function for calling Safir::Dob::Typesystem::Utilities::ToWstring but without all the long namespacing.
Convert a UTF8-encoded std::string to std::wstring
| str | [in] - The string to convert. |
References Safir::Dob::Typesystem::Utilities::ToWstring().