|
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:507
bool _Has_berr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:505
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:309
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
bool _Has_werr
Definition: xlocbuf:507
bool _Has_berr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:505
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:309
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
state_type _State
Definition: xlocbuf:504
bool _Has_werr
Definition: xlocbuf:507
bool _Has_berr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:505
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:309
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
byte_string _Berr
Definition: xlocbuf:502
bool _Has_werr
Definition: xlocbuf:507
bool _Has_berr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:505
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:309
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
byte_string _Berr
Definition: xlocbuf:502
bool _Has_werr
Definition: xlocbuf:507
bool _Has_berr
Definition: xlocbuf:506
wide_string _Werr
Definition: xlocbuf:503
bool _Has_state
Definition: xlocbuf:505
void _Init(const _Codecvt *_Pcvt_arg=new _Codecvt)
Definition: xlocbuf:309
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:320
const _Codecvt * _Pcvt
Definition: xlocbuf:500
state_type _State
Definition: xlocbuf:504
size_t _Nconv
Definition: xlocbuf:508
locale _Loc
Definition: xlocbuf:501
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
size_t _Nconv
Definition: xlocbuf:508
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
wide_string from_bytes(char _Byte)
Definition: xlocbuf:371
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
wide_string from_bytes(char _Byte)
Definition: xlocbuf:371
#define _CSTD
Definition: yvals.h:570
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
383 const char *_Ptr = _Bstr.c_str();
384 return (
from_bytes(_Ptr, _Ptr + _Bstr.size()));
wide_string from_bytes(char _Byte)
Definition: xlocbuf:371
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
390 const char *_First_sav = _First;
397 _Elem *_Dest = &*_Wbuf.begin();
401 _First,
_Last, _First,
402 _Dest, _Dest + _Wbuf.size(), _Dnext))
404 case _Codecvt::partial:
407 _Wstr.append(_Dest, (
_CSTD size_t)(_Dnext - _Dest));
409 _Wbuf.append((
_CSTD size_t)_BUF_INC,
'\0');
416 case _Codecvt::noconv:
417 for (; _First !=
_Last; ++_First)
418 _Wstr.append((
_CSTD size_t)1,
419 (_Elem)(
unsigned char)*_First);
_Codecvt::state_type state_type
Definition: xlocbuf:320
Definition: stdexcept:239
const _Codecvt * _Pcvt
Definition: xlocbuf:500
state_type _State
Definition: xlocbuf:504
size_t _Nconv
Definition: xlocbuf:508
bool _Has_werr
Definition: xlocbuf:507
#define _THROW_NCEE(x, y)
Definition: xstddef:78
wide_string _Werr
Definition: xlocbuf:503
bool _Has_state
Definition: xlocbuf:505
#define _CSTD
Definition: yvals.h:570
basic_string< _Elem, char_traits< _Elem >, _Walloc > wide_string
Definition: xlocbuf:319
_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:504
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
434 return (
to_bytes(&_Char, &_Char + 1));
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:432
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
439 const _Elem *_Next = _Wptr;
440 for (; (
int_type)*_Next != 0; ++_Next)
wide_string::traits_type::int_type int_type
Definition: xlocbuf:321
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:432
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
447 const _Elem *_Wptr = _Wstr.c_str();
448 return (
to_bytes(_Wptr, _Wptr + _Wstr.size()));
byte_string to_bytes(_Elem _Char)
Definition: xlocbuf:432
template<class _Codecvt , class _Elem = wchar_t, class _Walloc = allocator<_Elem>, class _Balloc = allocator<char>>
454 const _Elem *_First_sav = _First;
461 char *_Dest = &*_Bbuf.begin();
465 _First,
_Last, _First,
466 _Dest, _Dest + _Bbuf.size(), _Dnext))
468 case _Codecvt::partial:
471 _Bstr.append(_Dest, (
_CSTD size_t)(_Dnext - _Dest));
473 _Bbuf.append((
_CSTD size_t)_BUF_INC,
'\0');
480 case _Codecvt::noconv:
481 for (; _First !=
_Last; ++_First)
482 _Bstr.append((
_CSTD size_t)1,
_Codecvt::state_type state_type
Definition: xlocbuf:320
Definition: stdexcept:239
const _Codecvt * _Pcvt
Definition: xlocbuf:500
state_type _State
Definition: xlocbuf:504
size_t _Nconv
Definition: xlocbuf:508
wide_string::traits_type::int_type int_type
Definition: xlocbuf:321
byte_string _Berr
Definition: xlocbuf:502
basic_string< char, char_traits< char >, _Balloc > byte_string
Definition: xlocbuf:318
#define _THROW_NCEE(x, y)
Definition: xstddef:78
bool _Has_berr
Definition: xlocbuf:506
bool _Has_state
Definition: xlocbuf:505
#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: