|
virtual result | do_in (_Statype &, const _Byte *_First1, const _Byte *_Last1, const _Byte *&_Mid1, _Elem *_First2, _Elem *_Last2, _Elem *&_Mid2) const |
|
virtual result | do_out (_Statype &, const _Elem *_First1, const _Elem *_Last1, const _Elem *&_Mid1, _Byte *_First2, _Byte *_Last2, _Byte *&_Mid2) const |
|
virtual result | do_unshift (_Statype &, _Byte *_First2, _Byte *, _Byte *&_Mid2) const |
|
virtual int | do_length (_Statype &, const _Byte *_First1, const _Byte *_Last1, size_t _Count) const _THROW0() |
|
virtual bool | do_always_noconv () const _THROW0() |
|
virtual int | do_max_length () const _THROW0() |
|
virtual int | do_encoding () const _THROW0() |
|
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
_STD codecvt< _Elem, char, _Statype > _Mybase
Definition: xone_byte:27
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
48 unsigned long _Maxc = _Maxcode;
52 for (; _Mid1 != _Last1 && _Mid2 != _Last2; ++_Mid1)
54 unsigned short _Bytecode = (
unsigned char)*_Mid1;
56 if ((_Table::_Nlow <= _Bytecode
57 && (_Bytecode = _Table::_Btw[_Bytecode - _Table::_Nlow]) == 0)
59 return (_Mybase::error);
60 *_Mid2++ = (_Elem)_Bytecode;
63 return (_First1 == _Mid1 ? _Mybase::partial : _Mybase::ok);
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
123 size_t _Wchars = _Last1 - _First1;
_Diff _Count
Definition: algorithm:1941
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
70 unsigned long _Maxc = _Maxcode;
74 for (; _Mid1 != _Last1 && _Mid2 != _Last2; ++_Mid1)
76 unsigned long _Hugecode = (
unsigned long)*_Mid1;
77 unsigned short _Widecode = (
unsigned short)_Hugecode;
79 if (_Maxc < _Widecode)
80 return (_Mybase::error);
81 else if (_Widecode < _Table::_Nlow || (_Widecode < 0x100
82 && _Table::_Btw[_Widecode - _Table::_Nlow] == _Widecode))
86 unsigned long _Lo = 0;
87 unsigned long _Hi =
sizeof (_Table::_Wvalid)
88 /
sizeof (_Table::_Wvalid[0]);
92 unsigned long _Mid = (_Hi + _Lo) / 2;
94 if (_Widecode < _Table::_Wvalid[_Mid])
96 else if (_Widecode == _Table::_Wvalid[_Mid])
98 _Widecode = _Table::_Wtb[_Mid];
105 return (_Mybase::error);
107 *_Mid2++ = (
_Byte)_Widecode;
110 return (_First1 == _Mid1 ? _Mybase::partial : _Mybase::ok);
char _Byte
Definition: xone_byte:29
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
117 return (_Mybase::ok);
The documentation for this class was generated from the following file: