STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Member Functions | List of all members
codecvt_base Class Reference
Inheritance diagram for codecvt_base:
locale::facet _Facet_base codecvt< _Elem, _Byte, _Statype > codecvt< _Elem, char, _Statype > codecvt< wchar_t, char, _Mbstatet > codecvt_byname< _Elem, _Byte, _Statype > codecvt_utf16< _Elem, _Mymax, _Mymode > codecvt_utf8< _Elem, _Mymax, _Mymode > codecvt_utf8_utf16< _Elem, _Mymax, _Mymode >

Public Types

enum  { ok, partial, error, noconv }
 
typedef int result
 

Public Member Functions

__CLR_OR_THIS_CALL codecvt_base (size_t _Refs=0)
 
bool __CLR_OR_THIS_CALL always_noconv () const _THROW0()
 
int __CLR_OR_THIS_CALL max_length () const _THROW0()
 
int __CLR_OR_THIS_CALL encoding () const _THROW0()
 
__CLR_OR_THIS_CALL ~codecvt_base () _NOEXCEPT
 
- Public Member Functions inherited from locale::facet
virtual void __CLR_OR_THIS_CALL _Incref ()
 
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref ()
 
__CLR_OR_THIS_CALL facet (const facet &)=delete
 
facet &__CLR_OR_THIS_CALL operator= (const facet &)=delete
 
- Public Member Functions inherited from _Facet_base
virtual __CLR_OR_THIS_CALL ~_Facet_base () _NOEXCEPT
 

Protected Member Functions

virtual bool __CLR_OR_THIS_CALL do_always_noconv () const _THROW0()
 
virtual int __CLR_OR_THIS_CALL do_max_length () const _THROW0()
 
virtual int __CLR_OR_THIS_CALL do_encoding () const _THROW0()
 
- Protected Member Functions inherited from locale::facet
__CLR_OR_THIS_CALL facet (size_t _Initrefs=0)
 
virtual __CLR_OR_THIS_CALL ~facet () _NOEXCEPT
 

Additional Inherited Members

- Static Public Member Functions inherited from locale::facet
static size_t __CLRCALL_OR_CDECL _Getcat (const facet **=0, const locale *=0)
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
Enumerator
ok 
partial 
error 
noconv 
815  { // constants for different parse states
816  ok, partial, error, noconv};
Definition: xlocale:816
Definition: xlocale:816
Definition: xlocale:816
Definition: xlocale:816

Constructor & Destructor Documentation

__CLR_OR_THIS_CALL codecvt_base::codecvt_base ( size_t  _Refs = 0)
inline
821  { // default constructor
822  }
Definition: xlocale:102
_Atomic_counter_t _Refs
Definition: xlocale:157
__CLR_OR_THIS_CALL codecvt_base::~codecvt_base ( )
inline
840  { // destroy the object
841  }

Member Function Documentation

bool __CLR_OR_THIS_CALL codecvt_base::always_noconv ( ) const
inline
825  { // return true if conversions never change input (from codecvt)
826  return (do_always_noconv());
827  }
virtual bool __CLR_OR_THIS_CALL do_always_noconv() const _THROW0()
Definition: xlocale:844
virtual bool __CLR_OR_THIS_CALL codecvt_base::do_always_noconv ( ) const
inlineprotectedvirtual
virtual int __CLR_OR_THIS_CALL codecvt_base::do_encoding ( ) const
inlineprotectedvirtual

Reimplemented in codecvt< wchar_t, char, _Mbstatet >, codecvt_utf8_utf16< _Elem, _Mymax, _Mymode >, codecvt_utf16< _Elem, _Mymax, _Mymode >, and codecvt_utf8< _Elem, _Mymax, _Mymode >.

855  { // return length of code sequence (from codecvt)
856  return (1); // -1 ==> state dependent, 0 ==> varying length
857  }
virtual int __CLR_OR_THIS_CALL codecvt_base::do_max_length ( ) const
inlineprotectedvirtual

Reimplemented in codecvt< wchar_t, char, _Mbstatet >, codecvt_utf8_utf16< _Elem, _Mymax, _Mymode >, codecvt_utf16< _Elem, _Mymax, _Mymode >, and codecvt_utf8< _Elem, _Mymax, _Mymode >.

850  { // return maximum length required for a conversion (from codecvt)
851  return (1);
852  }
int __CLR_OR_THIS_CALL codecvt_base::encoding ( ) const
inline
835  { // return length of code sequence (from codecvt)
836  return (do_encoding());
837  }
virtual int __CLR_OR_THIS_CALL do_encoding() const _THROW0()
Definition: xlocale:854
int __CLR_OR_THIS_CALL codecvt_base::max_length ( ) const
inline
830  { // return maximum length required for a conversion (from codecvt)
831  return (do_max_length());
832  }
virtual int __CLR_OR_THIS_CALL do_max_length() const _THROW0()
Definition: xlocale:849

The documentation for this class was generated from the following file: