ctype Class Reference

class ctype : public locale::facet

Inherits from

  • ctype
Public Member Functions
ctype ( size_t )
bool is (mask, char_type )
const char_type * is (const char_type *, const char_type *, mask *)
char narrow ( char_type , char)
const char_type * narrow (const char_type *, const char_type *, char, char *)
const char_type * scan_is (mask, const char_type *, const char_type *)
const char_type * scan_not (mask, const char_type *, const char_type *)
char_type tolower ( char_type )
const char_type * tolower ( char_type *, const char_type *)
char_type toupper ( char_type )
const char_type * toupper ( char_type *, const char_type *)
char_type widen (char)
const char * widen (const char *, const char *, char_type *)
Protected Member Functions
~ctype ()
bool do_is (mask, char_type )
const char_type * do_is (const char_type *, const char_type *, mask *)
char do_narrow ( char_type , char)
const char_type * do_narrow (const char_type *, const char_type *, char, char *)
const char_type * do_scan_is (mask, const char_type *, const char_type *)
const char_type * do_scan_not (mask, const char_type *, const char_type *)
char_type do_tolower ( char_type )
const char_type * do_tolower ( char_type *, const char_type *)
char_type do_toupper ( char_type )
const char_type * do_toupper ( char_type *, const char_type *)
char_type do_widen (char)
const char * do_widen (const char *, const char *, char_type *)
Inherited Functions
locale::facet::facet(size_t)
locale::facet::~facet()
Public Member Type Definitions
typedef charT char_type
Public Attributes
locale::id id
const size_t table_size

Constructor & Destructor Documentation

ctype(size_t)

ctype ( size_t __refs = 0 ) [inline, explicit]

Parameters

size_t __refs = 0

~ctype()

~ctype ( ) [protected]

Member Functions Documentation

do_is(mask, char_type)

bool do_is ( mask __m,
char_type __c
) const [protected, virtual]

Parameters

mask __m
char_type __c

do_is(const char_type *, const char_type *, mask *)

const char_type * do_is ( const char_type * __low,
const char_type * __high,
mask * __vec
) const [protected, virtual]

Parameters

const char_type * __low
const char_type * __high
mask * __vec

do_narrow(char_type, char)

char do_narrow ( char_type __c,
char __dfault
) const [protected, virtual]

Parameters

char_type __c
char __dfault

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

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

Parameters

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

do_scan_is(mask, const char_type *, const char_type *)

const char_type * do_scan_is ( mask __m,
const char_type * __low,
const char_type * __high
) const [protected, virtual]

Parameters

mask __m
const char_type * __low
const char_type * __high

do_scan_not(mask, const char_type *, const char_type *)

const char_type * do_scan_not ( mask __m,
const char_type * __low,
const char_type * __high
) const [protected, virtual]

Parameters

mask __m
const char_type * __low
const char_type * __high

do_tolower(char_type)

char_type do_tolower ( char_type __c ) const [protected, virtual]

Parameters

char_type __c

do_tolower(char_type *, const char_type *)

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

Parameters

char_type * __low
const char_type * __high

do_toupper(char_type)

char_type do_toupper ( char_type __c ) const [protected, virtual]

Parameters

char_type __c

do_toupper(char_type *, const char_type *)

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

Parameters

char_type * __low
const char_type * __high

do_widen(char)

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

Parameters

char __c

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

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

Parameters

const char * __low
const char * __high
char_type * __to

is(mask, char_type)

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

Parameters

mask __m
char_type __c

is(const char_type *, const char_type *, mask *)

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

Parameters

const char_type * __low
const char_type * __high
mask * __vec

narrow(char_type, char)

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

Parameters

char_type __c
char __dfault

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

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

Parameters

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

scan_is(mask, const char_type *, const char_type *)

const char_type * scan_is ( mask __m,
const char_type * __low,
const char_type * __high
) const [inline]

Parameters

mask __m
const char_type * __low
const char_type * __high

scan_not(mask, const char_type *, const char_type *)

const char_type * scan_not ( mask __m,
const char_type * __low,
const char_type * __high
) const [inline]

Parameters

mask __m
const char_type * __low
const char_type * __high

tolower(char_type)

char_type tolower ( char_type __c ) const [inline]

Parameters

char_type __c

tolower(char_type *, const char_type *)

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

Parameters

char_type * __low
const char_type * __high

toupper(char_type)

char_type toupper ( char_type __c ) const [inline]

Parameters

char_type __c

toupper(char_type *, const char_type *)

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

Parameters

char_type * __low
const char_type * __high

widen(char)

char_type widen ( char __c ) const [inline]

Parameters

char __c

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

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

Parameters

const char * __low
const char * __high
char_type * __to

Member Type Definitions Documentation

Typedef char_type

typedef charT char_type

Member Data Documentation

locale::id id

locale::id id [static]

const size_t table_size

const size_t table_size [static]