Share via


ctype Members

The following tables list the members of the ctype Class. For a list of members inherited by the ctype class, see ctype_base Class.

Reference

Constructors

ctype

Constructor for objects of class ctype that serve as locale facets for characters.

Typedefs

char_type

A type that describes a character used by a locale.

Member Functions

do_is

A virtual function called to test whether a single character has a particular attribute, or classify the attributes of each character in a range and stores them in an array.

do_narrow

A virtual function called to convert a character of type CharType used by a locale to the corresponding character of type char in the native character set. Deprecated. Use ctype::_Do_narrow_s instead.

_Do_narrow_s

A virtual function called to convert a character of type CharType used by a locale to the corresponding character of type char in the native character set.

do_scan_is

A virtual function called to locate the first character in a range that matches a specified mask.

do_scan_not

A virtual function called to locate the first character in a range that does not match a specified mask.

do_tolower

A virtual function called to convert a character or a range of characters to their lower case.

do_toupper

A virtual function called to convert a character or a range of characters to upper case.

do_widen

A virtual function called to converts a character of type char in the native character set to the corresponding character of type CharType used by a locale. Deprecated. Use ctype::_Do_widen_s instead.

_Do_widen_s

A virtual function called to converts a character of type char in the native character set to the corresponding character of type CharType used by a locale.

is

Tests whether a single character has a particular attribute, or classifies the attributes of each character in a range and stores them in an array.

narrow

Converts a character of type CharType used by a locale to the corresponding character of type char in the native character set. Deprecated. Use ctype::_Narrow_s instead.

_Narrow_s

Converts a character of type CharType used by a locale to the corresponding character of type char in the native character set.

scan_is

Locates the first character in a range that matches a specified mask.

scan_not

Locates the first character in a range that does not match a specified mask.

tolower

Converts a character or a range of characters to lower case.

toupper

Converts a character or a range of characters to upper case.

widen

Converts a character of type char in the native character set to the corresponding character of type CharType used by a locale. Deprecated. Use ctype::_Widen_s instead.

_Widen_s

Converts a character of type char in the native character set to the corresponding character of type CharType used by a locale.

See Also

Reference

ctype Class

ctype_base Class

Thread Safety in the Standard C++ Library