Utility functions for character strings. More...
#include "arccore/base/String.h"#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | Arcane |
| -- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -- | |
| namespace | Arccore |
| Namespace of Arccore. | |
Functions | |
| std::vector< UChar > | Arcane::StringUtils::asUtf16BE (const String &str) |
| Returns the conversion of the instance into UTF-16BE encoding. | |
| std::wstring | Arcane::StringUtils::convertToStdWString (const String &str) |
| Returns the conversion of str to std::wstring. | |
| String | Arcane::StringUtils::convertToArcaneString (const std::wstring_view &wstr) |
| Converts wstr into a String. | |
| std::vector< UChar > | Arccore::StringUtils::asUtf16BE (const String &str) |
| Returns the conversion of the instance into UTF-16BE encoding. | |
Utility functions for character strings.
Definition in file StringUtils.h.
| std::vector< UChar > Arcane::StringUtils::asUtf16BE | ( | const String & | str | ) |
| std::vector< UChar > Arcane::StringUtils::asUtf16BE | ( | const String & | str | ) |
| String Arcane::StringUtils::convertToArcaneString | ( | const std::wstring_view & | wstr | ) |
Converts wstr into a String.
This function is only supported for the Win32 platform.
Definition at line 1315 of file String.cc.
References ARCCORE_THROW, and Arcane::arccoreCheckArraySize().
| std::wstring Arcane::StringUtils::convertToStdWString | ( | const String & | str | ) |
Returns the conversion of str to std::wstring.
This function is only supported for the Win32 platform.
Definition at line 1298 of file String.cc.
References ARCCORE_THROW, Arcane::ConstArrayView< T >::data(), and Arcane::ConstArrayView< T >::size().