STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Typedefs | Functions | Variables
wctype.h File Reference
#include <crtdefs.h>

Go to the source code of this file.

Macros

#define _INC_WCTYPE
 
#define WEOF   (wint_t)(0xFFFF)
 
#define _CRT_CTYPEDATA_DEFINED
 
#define __PCTYPE_FUNC   __pctype_func()
 
#define _CRT_WCTYPEDATA_DEFINED
 
#define _UPPER   0x1 /* upper case letter */
 
#define _LOWER   0x2 /* lower case letter */
 
#define _DIGIT   0x4 /* digit[0-9] */
 
#define _SPACE   0x8 /* space, tab, carriage return, newline, */
 
#define _PUNCT   0x10 /* punctuation character */
 
#define _CONTROL   0x20 /* control character */
 
#define _BLANK   0x40 /* space char (tab handled separately) */
 
#define _HEX   0x80 /* hexadecimal digit */
 
#define _LEADBYTE   0x8000 /* multibyte leadbyte */
 
#define _ALPHA   (0x0100|_UPPER|_LOWER) /* alphabetic character */
 
#define _WCTYPE_DEFINED
 
#define iswalpha(_c)   ( iswctype(_c,_ALPHA) )
 
#define iswupper(_c)   ( iswctype(_c,_UPPER) )
 
#define iswlower(_c)   ( iswctype(_c,_LOWER) )
 
#define iswdigit(_c)   ( iswctype(_c,_DIGIT) )
 
#define iswxdigit(_c)   ( iswctype(_c,_HEX) )
 
#define iswspace(_c)   ( iswctype(_c,_SPACE) )
 
#define iswpunct(_c)   ( iswctype(_c,_PUNCT) )
 
#define iswblank(_c)   (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )
 
#define iswalnum(_c)   ( iswctype(_c,_ALPHA|_DIGIT) )
 
#define iswprint(_c)   ( iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT) )
 
#define iswgraph(_c)   ( iswctype(_c,_PUNCT|_ALPHA|_DIGIT) )
 
#define iswcntrl(_c)   ( iswctype(_c,_CONTROL) )
 
#define iswascii(_c)   ( (unsigned)(_c) < 0x80 )
 
#define isleadbyte(c)   (__pctype_func()[(unsigned char)(c)] & _LEADBYTE)
 
#define _WCTYPE_INLINE_DEFINED
 

Typedefs

typedef wchar_t wctrans_t
 

Functions

_CRTIMP const unsigned short *__cdecl __pctype_func (void)
 
_CRTIMP const wctype_t *__cdecl __pwctype_func (void)
 
_CRTIMP int __cdecl iswalpha (wint_t)
 
_CRTIMP int __cdecl iswupper (wint_t)
 
_CRTIMP int __cdecl iswlower (wint_t)
 
_CRTIMP int __cdecl iswdigit (wint_t)
 
_CRTIMP int __cdecl iswxdigit (wint_t)
 
_CRTIMP int __cdecl iswspace (wint_t)
 
_CRTIMP int __cdecl iswpunct (wint_t)
 
_CRTIMP int __cdecl iswblank (wint_t)
 
_CRTIMP int __cdecl iswalnum (wint_t)
 
_CRTIMP int __cdecl iswprint (wint_t)
 
_CRTIMP int __cdecl iswgraph (wint_t)
 
_CRTIMP int __cdecl iswcntrl (wint_t)
 
_CRTIMP int __cdecl iswascii (wint_t)
 
_CRTIMP int __cdecl isleadbyte (int)
 
_CRTIMP wint_t __cdecl towupper (wint_t)
 
_CRTIMP wint_t __cdecl towlower (wint_t)
 
_CRTIMP int __cdecl iswctype (wint_t, wctype_t)
 
_CRTIMP int __cdecl __iswcsymf (wint_t)
 
_CRTIMP int __cdecl __iswcsym (wint_t)
 
 _CRT_OBSOLETE (iswctype) _CRTIMP int __cdecl is_wctype(wint_t
 
_CRTIMP wint_t __cdecl towctrans (wint_t, wctrans_t)
 
_CRTIMP wctrans_t __cdecl wctrans (const char *)
 
_CRTIMP wctype_t __cdecl wctype (const char *)
 

Variables

_CRTIMP const unsigned short * _pctype
 
_CRTIMP const unsigned short _wctype []
 
_CRTIMP const wctype_t_pwctype
 
 wctype_t
 

Macro Definition Documentation

#define __PCTYPE_FUNC   __pctype_func()
#define _ALPHA   (0x0100|_UPPER|_LOWER) /* alphabetic character */
#define _BLANK   0x40 /* space char (tab handled separately) */
#define _CONTROL   0x20 /* control character */
#define _CRT_CTYPEDATA_DEFINED
#define _CRT_WCTYPEDATA_DEFINED
#define _DIGIT   0x4 /* digit[0-9] */
#define _HEX   0x80 /* hexadecimal digit */
#define _INC_WCTYPE
#define _LEADBYTE   0x8000 /* multibyte leadbyte */
#define _LOWER   0x2 /* lower case letter */
#define _PUNCT   0x10 /* punctuation character */
#define _SPACE   0x8 /* space, tab, carriage return, newline, */
#define _UPPER   0x1 /* upper case letter */
#define _WCTYPE_DEFINED
#define _WCTYPE_INLINE_DEFINED
#define isleadbyte (   c)    (__pctype_func()[(unsigned char)(c)] & _LEADBYTE)
#define iswalnum (   _c)    ( iswctype(_c,_ALPHA|_DIGIT) )
#define iswalpha (   _c)    ( iswctype(_c,_ALPHA) )
#define iswascii (   _c)    ( (unsigned)(_c) < 0x80 )
#define iswblank (   _c)    (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )
#define iswcntrl (   _c)    ( iswctype(_c,_CONTROL) )
#define iswdigit (   _c)    ( iswctype(_c,_DIGIT) )
#define iswgraph (   _c)    ( iswctype(_c,_PUNCT|_ALPHA|_DIGIT) )
#define iswlower (   _c)    ( iswctype(_c,_LOWER) )
#define iswprint (   _c)    ( iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT) )
#define iswpunct (   _c)    ( iswctype(_c,_PUNCT) )
#define iswspace (   _c)    ( iswctype(_c,_SPACE) )
#define iswupper (   _c)    ( iswctype(_c,_UPPER) )
#define iswxdigit (   _c)    ( iswctype(_c,_HEX) )
#define WEOF   (wint_t)(0xFFFF)

Typedef Documentation

typedef wchar_t wctrans_t

Function Documentation

_CRTIMP int __cdecl __iswcsym ( wint_t  )
_CRTIMP int __cdecl __iswcsymf ( wint_t  )
_CRTIMP const unsigned short* __cdecl __pctype_func ( void  )
_CRTIMP const wctype_t* __cdecl __pwctype_func ( void  )
_CRT_OBSOLETE ( iswctype  )
_CRTIMP int __cdecl isleadbyte ( int  )
_CRTIMP int __cdecl iswalnum ( wint_t  )
_CRTIMP int __cdecl iswalpha ( wint_t  )
_CRTIMP int __cdecl iswascii ( wint_t  )
_CRTIMP int __cdecl iswblank ( wint_t  )
_CRTIMP int __cdecl iswcntrl ( wint_t  )
_CRTIMP int __cdecl iswctype ( wint_t  ,
wctype_t   
)
_CRTIMP int __cdecl iswdigit ( wint_t  )
_CRTIMP int __cdecl iswgraph ( wint_t  )
_CRTIMP int __cdecl iswlower ( wint_t  )
_CRTIMP int __cdecl iswprint ( wint_t  )
_CRTIMP int __cdecl iswpunct ( wint_t  )
_CRTIMP int __cdecl iswspace ( wint_t  )
_CRTIMP int __cdecl iswupper ( wint_t  )
_CRTIMP int __cdecl iswxdigit ( wint_t  )
_CRTIMP wint_t __cdecl towctrans ( wint_t  ,
wctrans_t   
)
_CRTIMP wint_t __cdecl towlower ( wint_t  )
_CRTIMP wint_t __cdecl towupper ( wint_t  )
_CRTIMP wctrans_t __cdecl wctrans ( const char *  )
_CRTIMP wctype_t __cdecl wctype ( const char *  )

Variable Documentation

_CRTIMP const unsigned short* _pctype
_CRTIMP const wctype_t* _pwctype
_CRTIMP const unsigned short _wctype[]