ReactOS 0.4.16-dev-197-g92996da
ctype< wchar_t > Class Reference

#include <_ctype.h>

Inheritance diagram for ctype< wchar_t >:
Collaboration diagram for ctype< wchar_t >:

Public Types

typedef wchar_t char_type
 
- Public Types inherited from ctype_base
enum  mask {
  space = _Locale_SPACE , print = _Locale_PRINT , cntrl = _Locale_CNTRL , upper = _Locale_UPPER ,
  lower = _Locale_LOWER , alpha = _Locale_ALPHA , digit = _Locale_DIGIT , punct = _Locale_PUNCT ,
  xdigit = _Locale_XDIGIT , alnum = alpha | digit , graph = alnum | punct
}
 

Public Member Functions

 ctype (size_t __refs=0)
 
bool is (mask __m, wchar_t __c) const
 
const wchar_tis (const wchar_t *__low, const wchar_t *__high, mask *__vec) const
 
const wchar_tscan_is (mask __m, const wchar_t *__low, const wchar_t *__high) const
 
const wchar_tscan_not (mask __m, const wchar_t *__low, const wchar_t *__high) const
 
wchar_t() toupper (wchar_t __c) const
 
const wchar_t *() toupper (wchar_t *__low, const wchar_t *__high) const
 
wchar_t() tolower (wchar_t __c) const
 
const wchar_t *() tolower (wchar_t *__low, const wchar_t *__high) const
 
wchar_t widen (char __c) const
 
const charwiden (const char *__low, const char *__high, wchar_t *__to) const
 
char narrow (wchar_t __c, char __dfault) const
 
const wchar_tnarrow (const wchar_t *__low, const wchar_t *__high, char __dfault, char *__to) const
 

Static Public Attributes

static _STLP_STATIC_DECLSPEC locale::id id = { 15 }
 

Protected Member Functions

 ~ctype ()
 
virtual bool do_is (mask __m, wchar_t __c) const
 
virtual const wchar_tdo_is (const wchar_t *, const wchar_t *, mask *) const
 
virtual const wchar_tdo_scan_is (mask, const wchar_t *, const wchar_t *) const
 
virtual const wchar_tdo_scan_not (mask, const wchar_t *, const wchar_t *) const
 
virtual wchar_t do_toupper (wchar_t __c) const
 
virtual const wchar_tdo_toupper (wchar_t *, const wchar_t *) const
 
virtual wchar_t do_tolower (wchar_t c) const
 
virtual const wchar_tdo_tolower (wchar_t *, const wchar_t *) const
 
virtual wchar_t do_widen (char c) const
 
virtual const chardo_widen (const char *, const char *, wchar_t *) const
 
virtual char do_narrow (wchar_t __c, char __dfault) const
 
virtual const wchar_tdo_narrow (const wchar_t *, const wchar_t *, char, char *) const
 
- Protected Member Functions inherited from locale::facet
 facet (size_t __init_count=0)
 
virtual ~facet ()
 
- Protected Member Functions inherited from _Refcount_Base
 _Refcount_Base (__stl_atomic_t __n)
 
__stl_atomic_t _M_incr ()
 
__stl_atomic_t _M_decr ()
 

Detailed Description

Definition at line 177 of file _ctype.h.

Member Typedef Documentation

◆ char_type

typedef wchar_t ctype< wchar_t >::char_type

Definition at line 179 of file _ctype.h.

Constructor & Destructor Documentation

◆ ctype()

ctype< wchar_t >::ctype ( size_t  __refs = 0)
inlineexplicit

Definition at line 181 of file _ctype.h.

181: locale::facet(__refs) {}

◆ ~ctype()

ctype< wchar_t >::~ctype ( )
protected

Member Function Documentation

◆ do_is() [1/2]

virtual const wchar_t * ctype< wchar_t >::do_is ( const wchar_t ,
const wchar_t ,
mask  
) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_is() [2/2]

virtual bool ctype< wchar_t >::do_is ( mask  __m,
wchar_t  __c 
) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_narrow() [1/2]

virtual const wchar_t * ctype< wchar_t >::do_narrow ( const wchar_t ,
const wchar_t ,
char  ,
char  
) const
protectedvirtual

◆ do_narrow() [2/2]

virtual char ctype< wchar_t >::do_narrow ( wchar_t  __c,
char  __dfault 
) const
protectedvirtual

◆ do_scan_is()

virtual const wchar_t * ctype< wchar_t >::do_scan_is ( mask  ,
const wchar_t ,
const wchar_t  
) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_scan_not()

virtual const wchar_t * ctype< wchar_t >::do_scan_not ( mask  ,
const wchar_t ,
const wchar_t  
) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_tolower() [1/2]

virtual const wchar_t * ctype< wchar_t >::do_tolower ( wchar_t ,
const wchar_t  
) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_tolower() [2/2]

virtual wchar_t ctype< wchar_t >::do_tolower ( wchar_t  c) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_toupper() [1/2]

virtual const wchar_t * ctype< wchar_t >::do_toupper ( wchar_t ,
const wchar_t  
) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_toupper() [2/2]

virtual wchar_t ctype< wchar_t >::do_toupper ( wchar_t  __c) const
protectedvirtual

Reimplemented in ctype_byname< wchar_t >.

◆ do_widen() [1/2]

virtual wchar_t ctype< wchar_t >::do_widen ( char  c) const
protectedvirtual

◆ do_widen() [2/2]

virtual const char * ctype< wchar_t >::do_widen ( const char ,
const char ,
wchar_t  
) const
protectedvirtual

◆ is() [1/2]

const wchar_t * ctype< wchar_t >::is ( const wchar_t __low,
const wchar_t __high,
mask __vec 
) const
inline

Definition at line 186 of file _ctype.h.

188 { return do_is(__low, __high, __vec); }
virtual bool do_is(mask __m, wchar_t __c) const

◆ is() [2/2]

bool ctype< wchar_t >::is ( mask  __m,
wchar_t  __c 
) const
inline

Definition at line 183 of file _ctype.h.

184 { return do_is(__m, __c); }
#define __c
Definition: schilyio.h:209

◆ narrow() [1/2]

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

Definition at line 213 of file _ctype.h.

215 { return do_narrow(__low, __high, __dfault, __to); }
virtual char do_narrow(wchar_t __c, char __dfault) const

◆ narrow() [2/2]

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

Definition at line 211 of file _ctype.h.

212 { return do_narrow(__c, __dfault); }

◆ scan_is()

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

Definition at line 190 of file _ctype.h.

192 { return do_scan_is(__m, __low, __high); }
virtual const wchar_t * do_scan_is(mask, const wchar_t *, const wchar_t *) const

◆ scan_not()

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

Definition at line 194 of file _ctype.h.

196 { return do_scan_not(__m, __low, __high); }
virtual const wchar_t * do_scan_not(mask, const wchar_t *, const wchar_t *) const

◆ tolower() [1/2]

const wchar_t *() ctype< wchar_t >::tolower ( wchar_t __low,
const wchar_t __high 
) const
inline

Definition at line 203 of file _ctype.h.

204 { return do_tolower(__low, __high); }
virtual wchar_t do_tolower(wchar_t c) const

◆ tolower() [2/2]

wchar_t() ctype< wchar_t >::tolower ( wchar_t  __c) const
inline

Definition at line 202 of file _ctype.h.

202{ return do_tolower(__c); }

◆ toupper() [1/2]

const wchar_t *() ctype< wchar_t >::toupper ( wchar_t __low,
const wchar_t __high 
) const
inline

Definition at line 199 of file _ctype.h.

200 { return do_toupper(__low, __high); }
virtual wchar_t do_toupper(wchar_t __c) const

◆ toupper() [2/2]

wchar_t() ctype< wchar_t >::toupper ( wchar_t  __c) const
inline

Definition at line 198 of file _ctype.h.

198{ return do_toupper(__c); }

◆ widen() [1/2]

wchar_t ctype< wchar_t >::widen ( char  __c) const
inline

Definition at line 206 of file _ctype.h.

206{ return do_widen(__c); }
virtual wchar_t do_widen(char c) const

◆ widen() [2/2]

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

Definition at line 207 of file _ctype.h.

209 { return do_widen(__low, __high, __to); }

Member Data Documentation

◆ id

locale::id ctype< wchar_t >::id = { 15 }
static

Definition at line 217 of file _ctype.h.


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