ctype< char > Class Reference

#include <_ctype.h>

Inheritance diagram for ctype< char >:

locale::facet ctype_base _Refcount_Base ctype_byname< char > List of all members.

Public Types

typedef char char_type

Public Member Functions

 ctype (const mask *__tab=0, bool __del=false, size_t __refs=0)
bool is (mask __m, char __c) const
const char * is (const char *__low, const char *__high, mask *__vec) const
const char * scan_is (mask __m, const char *__low, const char *__high) const
const char * scan_not (mask __m, const char *__low, const char *__high) const
char widen (char __c) const
const char * widen (const char *__low, const char *__high, char *__to) const
char narrow (char __c, char __dfault) const
const char * narrow (const char *__low, const char *__high, char __dfault, char *__to) const

Static Public Attributes

static _STLP_STATIC_MEMBER_DECLSPEC
locale::id 
id
static const size_t table_size = 256

Protected Member Functions

const masktable () const _STLP_NOTHROW
 ~ctype ()
virtual char do_toupper (char __c) const
virtual char do_tolower (char __c) const
virtual const char * do_toupper (char *__low, const char *__high) const
virtual const char * do_tolower (char *__low, const char *__high) const
virtual char do_widen (char __c) const
virtual const char * do_widen (const char *__low, const char *__high, char *__to) const
virtual char do_narrow (char __c, char) const
virtual const char * do_narrow (const char *__low, const char *__high, char, char *__to) const

Static Protected Member Functions

static const mask *_STLP_CALL classic_table () _STLP_NOTHROW

Protected Attributes

const mask_M_ctype_table

Friends

class ctype< wchar_t >
class _Locale_impl

Classes

struct  _Is_mask

Detailed Description

Definition at line 64 of file _ctype.h.


Member Typedef Documentation

typedef char ctype< char >::char_type

Definition at line 76 of file _ctype.h.


Constructor & Destructor Documentation

ctype< char >::ctype ( const mask __tab = 0,
bool  __del = false,
size_t  __refs = 0 
) [explicit]

ctype< char >::~ctype (  )  [protected]


Member Function Documentation

bool ctype< char >::is ( mask  __m,
char  __c 
) const [inline]

Definition at line 79 of file _ctype.h.

const char* ctype< char >::is ( const char *  __low,
const char *  __high,
mask __vec 
) const [inline]

Definition at line 82 of file _ctype.h.

const char* ctype< char >::scan_is ( mask  __m,
const char *  __low,
const char *  __high 
) const

const char* ctype< char >::scan_not ( mask  __m,
const char *  __low,
const char *  __high 
) const

char ctype< char >::widen ( char  __c  )  const [inline]

Definition at line 102 of file _ctype.h.

const char* ctype< char >::widen ( const char *  __low,
const char *  __high,
char *  __to 
) const [inline]

Definition at line 103 of file _ctype.h.

char ctype< char >::narrow ( char  __c,
char  __dfault 
) const [inline]

Definition at line 107 of file _ctype.h.

const char* ctype< char >::narrow ( const char *  __low,
const char *  __high,
char  __dfault,
char *  __to 
) const [inline]

Definition at line 110 of file _ctype.h.

const mask* ctype< char >::table (  )  const [inline, protected]

Definition at line 123 of file _ctype.h.

const ctype_base::mask * ctype< char >::classic_table (  )  [static, protected]

Definition at line 45 of file ctype.cpp.

References _STLP_STATIC_ASSERT, and PRINTFLAG.

virtual char ctype< char >::do_toupper ( char  __c  )  const [protected, virtual]

Reimplemented in ctype_byname< char >.

virtual char ctype< char >::do_tolower ( char  __c  )  const [protected, virtual]

Reimplemented in ctype_byname< char >.

virtual const char* ctype< char >::do_toupper ( char *  __low,
const char *  __high 
) const [protected, virtual]

Reimplemented in ctype_byname< char >.

virtual const char* ctype< char >::do_tolower ( char *  __low,
const char *  __high 
) const [protected, virtual]

Reimplemented in ctype_byname< char >.

virtual char ctype< char >::do_widen ( char  __c  )  const [protected, virtual]

virtual const char* ctype< char >::do_widen ( const char *  __low,
const char *  __high,
char *  __to 
) const [protected, virtual]

virtual char ctype< char >::do_narrow ( char  __c,
char   
) const [protected, virtual]

virtual const char* ctype< char >::do_narrow ( const char *  __low,
const char *  __high,
char  ,
char *  __to 
) const [protected, virtual]


Friends And Related Function Documentation

friend class ctype< wchar_t > [friend]

Definition at line 70 of file _ctype.h.

friend class _Locale_impl [friend]

Reimplemented from locale::facet.

Definition at line 73 of file _ctype.h.


Member Data Documentation

_STLP_STATIC_MEMBER_DECLSPEC locale::id ctype< char >::id [static]

Definition at line 115 of file _ctype.h.

_STLP_BEGIN_NAMESPACE const size_t ctype< char >::table_size = 256 [static]

Definition at line 119 of file _ctype.h.

const mask* ctype< char >::_M_ctype_table [protected]

Definition at line 146 of file _ctype.h.


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



Generated on Mon Mar 10 15:32:59 2008 by  doxygen 1.5.1