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 _Crt_new_delete codecvt< _Elem, _Byte, _Statype > codecvt< _Elem, char, _Statype > codecvt< char16_t, char, _Mbstatet > codecvt< char32_t, char, _Mbstatet > 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

typedef int codecvt_base::result

Member Enumeration Documentation

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

Constructor & Destructor Documentation

__CLR_OR_THIS_CALL codecvt_base::codecvt_base ( size_t  _Refs = 0)
inline
826  : locale::facet(_Refs)
827  { // default constructor
828  }
Definition: xlocale:138
__CLR_OR_THIS_CALL codecvt_base::~codecvt_base ( )
inline
846  { // destroy the object
847  }

Member Function Documentation

bool __CLR_OR_THIS_CALL codecvt_base::always_noconv ( ) const
inline
831  { // return true if conversions never change input (from codecvt)
832  return (do_always_noconv());
833  }
virtual bool __CLR_OR_THIS_CALL do_always_noconv() const _THROW0()
Definition: xlocale:850
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< char32_t, char, _Mbstatet >, codecvt< char16_t, char, _Mbstatet >, codecvt_utf8_utf16< _Elem, _Mymax, _Mymode >, codecvt_utf16< _Elem, _Mymax, _Mymode >, and codecvt_utf8< _Elem, _Mymax, _Mymode >.

861  { // return length of code sequence (from codecvt)
862  return (1); // -1 ==> state dependent, 0 ==> varying length
863  }
virtual int __CLR_OR_THIS_CALL codecvt_base::do_max_length ( ) const
inlineprotectedvirtual
int __CLR_OR_THIS_CALL codecvt_base::encoding ( ) const
inline
841  { // return length of code sequence (from codecvt)
842  return (do_encoding());
843  }
virtual int __CLR_OR_THIS_CALL do_encoding() const _THROW0()
Definition: xlocale:860
int __CLR_OR_THIS_CALL codecvt_base::max_length ( ) const
inline
836  { // return maximum length required for a conversion (from codecvt)
837  return (do_max_length());
838  }
virtual int __CLR_OR_THIS_CALL do_max_length() const _THROW0()
Definition: xlocale:855

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