|
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:510
bool _Has_berr
Definition: xlocbuf:509
bool _Has_state
Definition: xlocbuf:508
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:312
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
bool _Has_werr
Definition: xlocbuf:510
bool _Has_berr
Definition: xlocbuf:509
bool _Has_state
Definition: xlocbuf:508
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:312
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
state_type _State
Definition: xlocbuf:507
bool _Has_werr
Definition: xlocbuf:510
bool _Has_berr
Definition: xlocbuf:509
bool _Has_state
Definition: xlocbuf:508
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:312
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
byte_string _Berr
Definition: xlocbuf:505
bool _Has_werr
Definition: xlocbuf:510
bool _Has_berr
Definition: xlocbuf:509
bool _Has_state
Definition: xlocbuf:508
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:312
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
byte_string _Berr
Definition: xlocbuf:505
bool _Has_werr
Definition: xlocbuf:510
bool _Has_berr
Definition: xlocbuf:509
wide_string _Werr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:508
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:312
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:323
const _Codecvt * _Pcvt
Definition: xlocbuf:503
state_type _State
Definition: xlocbuf:507
size_t _Nconv
Definition: xlocbuf:511
locale _Loc
Definition: xlocbuf:504
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
size_t _Nconv
Definition: xlocbuf:511
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
wide_string from_bytes(char _Byte)
Definition: xlocbuf:374
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
_Check_return_ size_t __cdecl strlen(_In_z_ char const *_Str)
wide_string from_bytes(char _Byte)
Definition: xlocbuf:374
#define _CSTD
Definition: yvals.h:570
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
386 const char *_Ptr = _Bstr.c_str();
387 return (
from_bytes(_Ptr, _Ptr + _Bstr.size()));
wide_string from_bytes(char _Byte)
Definition: xlocbuf:374
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
393 const char *_First_sav = _First;
400 _Elem *
_Dest = &*_Wbuf.begin();
404 _First,
_Last, _First,
405 _Dest, _Dest + _Wbuf.size(), _Dnext))
407 case _Codecvt::partial:
410 _Wstr.append(_Dest, (
_CSTD size_t)(_Dnext - _Dest));
412 _Wbuf.append((
_CSTD size_t)_BUF_INC,
'\0');
419 case _Codecvt::noconv:
420 for (; _First !=
_Last; ++_First)
421 _Wstr.append((
_CSTD size_t)1,
422 (_Elem)(
unsigned char)*_First);
_Codecvt::state_type state_type
Definition: xlocbuf:323
Definition: stdexcept:240
const _Codecvt * _Pcvt
Definition: xlocbuf:503
unsigned _Dest
Definition: mbstring.h:107
state_type _State
Definition: xlocbuf:507
size_t _Nconv
Definition: xlocbuf:511
bool _Has_werr
Definition: xlocbuf:510
#define _THROW_NCEE(x, y)
Definition: xstddef:51
wide_string _Werr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:508
#define _CSTD
Definition: yvals.h:570
basic_string< _Elem, char_traits< _Elem >, _Walloc > wide_string
Definition: xlocbuf:322
_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:507
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
437 return (
to_bytes(&_Char, &_Char + 1));
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:435
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
442 const _Elem *_Next = _Wptr;
443 for (; (
int_type)*_Next != 0; ++_Next)
wide_string::traits_type::int_type int_type
Definition: xlocbuf:324
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:435
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
450 const _Elem *_Wptr = _Wstr.c_str();
451 return (
to_bytes(_Wptr, _Wptr + _Wstr.size()));
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:435
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
457 const _Elem *_First_sav = _First;
464 char *
_Dest = &*_Bbuf.begin();
468 _First,
_Last, _First,
469 _Dest, _Dest + _Bbuf.size(), _Dnext))
471 case _Codecvt::partial:
474 _Bstr.append(_Dest, (
_CSTD size_t)(_Dnext - _Dest));
476 _Bbuf.append((
_CSTD size_t)_BUF_INC,
'\0');
483 case _Codecvt::noconv:
484 for (; _First !=
_Last; ++_First)
485 _Bstr.append((
_CSTD size_t)1,
_Codecvt::state_type state_type
Definition: xlocbuf:323
Definition: stdexcept:240
const _Codecvt * _Pcvt
Definition: xlocbuf:503
unsigned _Dest
Definition: mbstring.h:107
state_type _State
Definition: xlocbuf:507
size_t _Nconv
Definition: xlocbuf:511
wide_string::traits_type::int_type int_type
Definition: xlocbuf:324
byte_string _Berr
Definition: xlocbuf:505
basic_string< char, char_traits< char >, _Balloc > byte_string
Definition: xlocbuf:321
#define _THROW_NCEE(x, y)
Definition: xstddef:51
bool _Has_berr
Definition: xlocbuf:509
bool _Has_state
Definition: xlocbuf:508
#define _CSTD
Definition: yvals.h:570
_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: