Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::iswctype ( P6WCHAR  wc,
P6UINT16  charClass,
P6BOOL pResult 
)
pure virtual

Test character for a specified class.

The twelve strings - "alnum", "alpha", "blank" "cntrl", "digit", "graph", "lower", "print", "punct", "space", "upper" and "xdigit" - are reserved for the standard character classes. For example, the function "iswalnum(wc, &pResult)" is equivalent to "iswctype(wc, wctype("alnum"), &pResult)" and the function "iswalpha(wc, &pResult)" is equivalent to "iswctype(wc, wctype("alpha"), &pResult)".

Parameters
wc[ in ] A single wide character.
charClass[ in ] Output value of the wctype() function.
pResult[ out ] Pointer to a boolean variable where P6TRUE is written if wc is a hexadecimal digit wide-character code.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.