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

Member Enumeration Documentation

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

Constructor & Destructor Documentation

__CLR_OR_THIS_CALL codecvt_base::codecvt_base ( size_t  _Refs = 0)
inline
763  : locale::facet(_Refs)
764  { // default constructor
765  }
Definition: xlocale:137
__CLR_OR_THIS_CALL codecvt_base::~codecvt_base ( )
inline
783  { // destroy the object
784  }

Member Function Documentation

bool __CLR_OR_THIS_CALL codecvt_base::always_noconv ( ) const
inline
768  { // return true if conversions never change input (from codecvt)
769  return (do_always_noconv());
770  }
virtual bool __CLR_OR_THIS_CALL do_always_noconv() const _THROW0()
Definition: xlocale:787
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 >.

798  { // return length of code sequence (from codecvt)
799  return (1); // -1 ==> state dependent, 0 ==> varying length
800  }
virtual int __CLR_OR_THIS_CALL codecvt_base::do_max_length ( ) const
inlineprotectedvirtual
int __CLR_OR_THIS_CALL codecvt_base::encoding ( ) const
inline
778  { // return length of code sequence (from codecvt)
779  return (do_encoding());
780  }
virtual int __CLR_OR_THIS_CALL do_encoding() const _THROW0()
Definition: xlocale:797
int __CLR_OR_THIS_CALL codecvt_base::max_length ( ) const
inline
773  { // return maximum length required for a conversion (from codecvt)
774  return (do_max_length());
775  }
virtual int __CLR_OR_THIS_CALL do_max_length() const _THROW0()
Definition: xlocale:792

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