std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >(3cxx) | std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >(3cxx) |
std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc > - String conversions.
#include <locale_conv.h>
typedef basic_string< char,
char_traits< char >, _Byte_alloc > byte_string
typedef wide_string::traits_type::int_type int_type
typedef _Codecvt::state_type state_type
typedef basic_string< _Elem, char_traits<
_Elem >, _Wide_alloc > wide_string
wstring_convert ()
Default constructor. wstring_convert (_Codecvt *__pcvt)
wstring_convert (_Codecvt *__pcvt, state_type
__state)
wstring_convert (const byte_string
&__byte_err, const wide_string
&__wide_err=wide_string())
wstring_convert (const wstring_convert
&)=delete
size_t converted () const noexcept
The number of elements successfully converted in the last conversion.
wstring_convert & operator= (const
wstring_convert &)=delete
state_type state () const
The final conversion state of the last conversion.
wide_string from_bytes (char __byte)
Convert from bytes. wide_string from_bytes (const char
*__ptr)
Convert from bytes. wide_string from_bytes (const
byte_string &__str)
Convert from bytes. wide_string from_bytes (const char
*__first, const char *__last)
Convert from bytes.
byte_string to_bytes (_Elem __wchar)
Convert to bytes. byte_string to_bytes (const
_Elem *__ptr)
Convert to bytes. byte_string to_bytes (const
wide_string &__wstr)
Convert to bytes. byte_string to_bytes (const
_Elem *__first, const _Elem *__last)
Convert to bytes.
class std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >"String conversions.
Definition at line 232 of file locale_conv.h.
Definition at line 235 of file locale_conv.h.
Definition at line 238 of file locale_conv.h.
Definition at line 237 of file locale_conv.h.
Definition at line 236 of file locale_conv.h.
Default constructor.
Definition at line 241 of file locale_conv.h.
Constructor.
Parameters
Takes ownership of __pcvt and will delete it in the destructor.
Definition at line 250 of file locale_conv.h.
Construct with an initial converstion state.
Parameters
Takes ownership of __pcvt and will delete it in the destructor. The object's conversion state will persist between conversions.
Definition at line 264 of file locale_conv.h.
Construct with error strings.
Parameters
Definition at line 277 of file locale_conv.h.
The number of elements successfully converted in the last conversion.
Definition at line 367 of file locale_conv.h.
Convert from bytes.
Definition at line 296 of file locale_conv.h.
References std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::from_bytes().
Referenced by std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::from_bytes(), std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::from_bytes(), and std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::from_bytes().
Convert from bytes.
Definition at line 307 of file locale_conv.h.
References std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::from_bytes().
Convert from bytes.
Definition at line 314 of file locale_conv.h.
Convert from bytes.
Definition at line 303 of file locale_conv.h.
References std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::from_bytes().
The final conversion state of the last conversion.
Definition at line 370 of file locale_conv.h.
Convert to bytes.
Definition at line 330 of file locale_conv.h.
References std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::to_bytes().
Referenced by std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::to_bytes(), std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::to_bytes(), and std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::to_bytes().
Convert to bytes.
Definition at line 350 of file locale_conv.h.
Convert to bytes.
Definition at line 337 of file locale_conv.h.
References std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::to_bytes().
Convert to bytes.
Definition at line 343 of file locale_conv.h.
References std::wstring_convert< _Codecvt, _Elem, _Wide_alloc, _Byte_alloc >::to_bytes().
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ |