|
void | _Init (const _Codecvt *_Pcvt_arg=new _Codecvt) |
|
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
Enumerator |
---|
_BUF_INC |
|
_BUF_MAX |
|
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
bool _Has_werr
Definition: xlocbuf:517
bool _Has_berr
Definition: xlocbuf:516
bool _Has_state
Definition: xlocbuf:515
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:316
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
bool _Has_werr
Definition: xlocbuf:517
bool _Has_berr
Definition: xlocbuf:516
bool _Has_state
Definition: xlocbuf:515
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:316
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
state_type _State
Definition: xlocbuf:514
bool _Has_werr
Definition: xlocbuf:517
bool _Has_berr
Definition: xlocbuf:516
bool _Has_state
Definition: xlocbuf:515
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:316
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
byte_string _Berr
Definition: xlocbuf:512
bool _Has_werr
Definition: xlocbuf:517
bool _Has_berr
Definition: xlocbuf:516
bool _Has_state
Definition: xlocbuf:515
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:316
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
byte_string _Berr
Definition: xlocbuf:512
bool _Has_werr
Definition: xlocbuf:517
bool _Has_berr
Definition: xlocbuf:516
wide_string _Werr
Definition: xlocbuf:513
bool _Has_state
Definition: xlocbuf:515
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:316
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
void wstring_convert< _Codecvt, _Elem, _Walloc, _Balloc >::_Init |
( |
const _Codecvt * |
_Pcvt_arg = new _Codecvt | ) |
|
|
inlineprivate |
_Codecvt::state_type state_type
Definition: xlocbuf:328
const _Codecvt * _Pcvt
Definition: xlocbuf:510
state_type _State
Definition: xlocbuf:514
size_t _Nconv
Definition: xlocbuf:518
locale _Loc
Definition: xlocbuf:511
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
size_t _Nconv
Definition: xlocbuf:518
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
wide_string from_bytes(char _Byte)
Definition: xlocbuf:379
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
wide_string from_bytes(char _Byte)
Definition: xlocbuf:379
_Check_return_ size_t __cdecl strlen(_In_z_ const char *_Str)
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
391 const char *_Ptr = _Bstr.c_str();
392 return (
from_bytes(_Ptr, _Ptr + _Bstr.size()));
wide_string from_bytes(char _Byte)
Definition: xlocbuf:379
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
399 const char *_First_sav = _First;
406 _Elem *_Dest = &*_Wbuf.begin();
410 _First,
_Last, _First,
411 _Dest, _Dest + _Wbuf.size(), _Dnext))
413 case _Codecvt::partial:
416 _Wstr.append(_Dest, (
_CSTD size_t)(_Dnext - _Dest));
418 _Wbuf.append((
_CSTD size_t)_BUF_INC,
'\0');
425 case _Codecvt::noconv:
426 for (; _First !=
_Last; ++_First)
427 _Wstr.append((
_CSTD size_t)1,
428 (_Elem)(
unsigned char)*_First);
_Codecvt::state_type state_type
Definition: xlocbuf:328
Definition: stdexcept:249
const _Codecvt * _Pcvt
Definition: xlocbuf:510
state_type _State
Definition: xlocbuf:514
size_t _Nconv
Definition: xlocbuf:518
bool _Has_werr
Definition: xlocbuf:517
#define _THROW_NCEE(x, y)
Definition: xstddef:79
wide_string _Werr
Definition: xlocbuf:513
bool _Has_state
Definition: xlocbuf:515
#define _CSTD
Definition: yvals.h:559
basic_string< _Elem, char_traits< _Elem >, _Walloc > wide_string
Definition: xlocbuf:327
_FwdIt _Last
Definition: algorithm:1936
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
state_type _State
Definition: xlocbuf:514
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
443 return (
to_bytes(&_Char, &_Char + 1));
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:441
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
448 const _Elem *_Next = _Wptr;
449 for (; (
int_type)*_Next != 0; ++_Next)
wide_string::traits_type::int_type int_type
Definition: xlocbuf:329
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:441
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
456 const _Elem *_Wptr = _Wstr.c_str();
457 return (
to_bytes(_Wptr, _Wptr + _Wstr.size()));
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:441
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
464 const _Elem *_First_sav = _First;
471 char *_Dest = &*_Bbuf.begin();
475 _First,
_Last, _First,
476 _Dest, _Dest + _Bbuf.size(), _Dnext))
478 case _Codecvt::partial:
481 _Bstr.append(_Dest, (
_CSTD size_t)(_Dnext - _Dest));
483 _Bbuf.append((
_CSTD size_t)_BUF_INC,
'\0');
490 case _Codecvt::noconv:
491 for (; _First !=
_Last; ++_First)
492 _Bstr.append((
_CSTD size_t)1,
_Codecvt::state_type state_type
Definition: xlocbuf:328
Definition: stdexcept:249
const _Codecvt * _Pcvt
Definition: xlocbuf:510
state_type _State
Definition: xlocbuf:514
size_t _Nconv
Definition: xlocbuf:518
wide_string::traits_type::int_type int_type
Definition: xlocbuf:329
byte_string _Berr
Definition: xlocbuf:512
basic_string< char, char_traits< char >, _Balloc > byte_string
Definition: xlocbuf:326
#define _THROW_NCEE(x, y)
Definition: xstddef:79
bool _Has_berr
Definition: xlocbuf:516
bool _Has_state
Definition: xlocbuf:515
#define _CSTD
Definition: yvals.h:559
_FwdIt _Last
Definition: algorithm:1936
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
const _Codecvt* wstring_convert< _Codecvt, _Elem, _Walloc, _Balloc >::_Pcvt |
|
private |
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
The documentation for this class was generated from the following file: