ctype< char > Class Template Reference

template <>
class ctype< char > : public locale::facet

Inherits from

  • ctype< char >

Nested Classes and Structures

Public Member Functions
ctype (const mask *, bool, size_t )
bool is (mask, char)
const char * is (const char *, const char *, mask *)
char narrow (char, char)
const char * narrow (const char *, const char *, char, char *)
_STLP_DECLSPEC const char * scan_is (mask, const char *, const char *)
_STLP_DECLSPEC const char * scan_not (mask, const char *, const char *)
char() tolower (char)
const char *() tolower (char *, const char *)
char() toupper (char)
const char *() toupper (char *, const char *)
char widen (char)
const char * widen (const char *, const char *, char *)
Protected Member Functions
~ctype ()
_STLP_DECLSPEC const mask * classic_table ()
_STLP_DECLSPEC char do_narrow (char, char)
_STLP_DECLSPEC const char * do_narrow (const char *, const char *, char, char *)
_STLP_DECLSPEC char do_tolower (char)
_STLP_DECLSPEC const char * do_tolower (char *, const char *)
_STLP_DECLSPEC char do_toupper (char)
_STLP_DECLSPEC const char * do_toupper (char *, const char *)
_STLP_DECLSPEC char do_widen (char)
_STLP_DECLSPEC const char * do_widen (const char *, const char *, char *)
const mask * table ()
Inherited Functions
locale::facet::facet(size_t)
locale::facet::~facet()
Public Member Type Definitions
typedef char char_type
Public Attributes
_STLP_STATIC_MEMBER_DECLSPEC locale::id id
const size_t table_size
Private Attributes
const mask * _M_ctype_table
bool _M_delete
const mask _S_classic_table
const unsigned char _S_lower
const unsigned char _S_upper

Constructor & Destructor Documentation

ctype(const mask *, bool, size_t)

_STLP_DECLSPEC ctype ( const mask * __tab = 0,
bool __del = false,
size_t __refs = 0
) [explicit]

Parameters

const mask * __tab = 0
bool __del = false
size_t __refs = 0

~ctype()

_STLP_DECLSPEC ~ctype ( ) [protected]

Member Functions Documentation

classic_table()

_STLP_DECLSPEC const mask * classic_table ( ) [protected, static]

do_narrow(char, char)

_STLP_DECLSPEC char do_narrow ( char __c,
char
) const [protected, virtual]

Parameters

char __c
char

do_narrow(const char *, const char *, char, char *)

_STLP_DECLSPEC const char * do_narrow ( const char * __low,
const char * __high,
char ,
char * __to
) const [protected, virtual]

Parameters

const char * __low
const char * __high
char
char * __to

do_tolower(char)

_STLP_DECLSPEC char do_tolower ( char __c ) const [protected, virtual]

Parameters

char __c

do_tolower(char *, const char *)

_STLP_DECLSPEC const char * do_tolower ( char * __low,
const char * __high
) const [protected, virtual]

Parameters

char * __low
const char * __high

do_toupper(char)

_STLP_DECLSPEC char do_toupper ( char __c ) const [protected, virtual]

Parameters

char __c

do_toupper(char *, const char *)

_STLP_DECLSPEC const char * do_toupper ( char * __low,
const char * __high
) const [protected, virtual]

Parameters

char * __low
const char * __high

do_widen(char)

_STLP_DECLSPEC char do_widen ( char __c ) const [protected, virtual]

Parameters

char __c

do_widen(const char *, const char *, char *)

_STLP_DECLSPEC const char * do_widen ( const char * __low,
const char * __high,
char * __to
) const [protected, virtual]

Parameters

const char * __low
const char * __high
char * __to

is(mask, char)

bool is ( mask __m,
char __c
) const [inline]

Parameters

mask __m
char __c

is(const char *, const char *, mask *)

const char * is ( const char * __low,
const char * __high,
mask * __vec
) const [inline]

Parameters

const char * __low
const char * __high
mask * __vec

narrow(char, char)

char narrow ( char __c,
char __dfault
) const [inline]

Parameters

char __c
char __dfault

narrow(const char *, const char *, char, char *)

const char * narrow ( const char * __low,
const char * __high,
char __dfault,
char * __to
) const [inline]

Parameters

const char * __low
const char * __high
char __dfault
char * __to

scan_is(mask, const char *, const char *)

_STLP_DECLSPEC const char * scan_is ( mask __m,
const char * __low,
const char * __high
) const

Parameters

mask __m
const char * __low
const char * __high

scan_not(mask, const char *, const char *)

_STLP_DECLSPEC const char * scan_not ( mask __m,
const char * __low,
const char * __high
) const

Parameters

mask __m
const char * __low
const char * __high

table()

const mask * table ( ) const [protected, inline]

tolower(char)

char() tolower ( char __c ) const [inline]

Parameters

char __c

tolower(char *, const char *)

const char *() tolower ( char * __low,
const char * __high
) const [inline]

Parameters

char * __low
const char * __high

toupper(char)

char() toupper ( char __c ) const [inline]

Parameters

char __c

toupper(char *, const char *)

const char *() toupper ( char * __low,
const char * __high
) const [inline]

Parameters

char * __low
const char * __high

widen(char)

char widen ( char __c ) const [inline]

Parameters

char __c

widen(const char *, const char *, char *)

const char * widen ( const char * __low,
const char * __high,
char * __to
) const [inline]

Parameters

const char * __low
const char * __high
char * __to

Member Type Definitions Documentation

Typedef char_type

typedef char char_type

Member Data Documentation

const mask * _M_ctype_table

const mask * _M_ctype_table [private]

bool _M_delete

bool _M_delete [private]

const mask _S_classic_table

const mask _S_classic_table [private, static]

const unsigned char _S_lower

const unsigned char _S_lower [private, static]

const unsigned char _S_upper

const unsigned char _S_upper [private, static]

_STLP_STATIC_MEMBER_DECLSPEC locale::id id

_STLP_STATIC_MEMBER_DECLSPEC locale::id id [static]

const size_t table_size

const size_t table_size [static]