.TH "std::ctype_byname< _CharT >" 3cxx "Wed Jul 14 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::ctype_byname< _CharT > \- class ctype_byname [22\&.2\&.1\&.2]\&. .SH SYNOPSIS .br .PP .PP Inherits \fBstd::ctype< _CharT >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef const int * \fB__to_type\fP" .br .ti -1c .RI "typedef _CharT \fBchar_type\fP" .br .ti -1c .RI "typedef \fBctype\fP< _CharT >::mask \fBmask\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBctype_byname\fP (const char *__s, size_t __refs=0)" .br .ti -1c .RI "\fBctype_byname\fP (const \fBstring\fP &__s, size_t __refs=0)" .br .ti -1c .RI "const \fBchar_type\fP * \fBis\fP (const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi, mask *__vec) const" .br .RI "Return a mask array\&. " .ti -1c .RI "bool \fBis\fP (mask __m, \fBchar_type\fP __c) const" .br .RI "Test char_type classification\&. " .ti -1c .RI "char \fBnarrow\fP (\fBchar_type\fP __c, char __dfault) const" .br .RI "Narrow char_type to char\&. " .ti -1c .RI "const \fBchar_type\fP * \fBnarrow\fP (const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi, char __dfault, char *__to) const" .br .RI "Narrow array to char array\&. " .ti -1c .RI "const \fBchar_type\fP * \fBscan_is\fP (mask __m, const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Find char_type matching a mask\&. " .ti -1c .RI "const \fBchar_type\fP * \fBscan_not\fP (mask __m, const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Find char_type not matching a mask\&. " .ti -1c .RI "const \fBchar_type\fP * \fBtolower\fP (\fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Convert array to lowercase\&. " .ti -1c .RI "\fBchar_type\fP \fBtolower\fP (\fBchar_type\fP __c) const" .br .RI "Convert to lowercase\&. " .ti -1c .RI "const \fBchar_type\fP * \fBtoupper\fP (\fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Convert array to uppercase\&. " .ti -1c .RI "\fBchar_type\fP \fBtoupper\fP (\fBchar_type\fP __c) const" .br .RI "Convert to uppercase\&. " .ti -1c .RI "\fBchar_type\fP \fBwiden\fP (char __c) const" .br .RI "Widen char to char_type\&. " .ti -1c .RI "const char * \fBwiden\fP (const char *__lo, const char *__hi, \fBchar_type\fP *__to) const" .br .RI "Widen array to char_type\&. " .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static const mask \fBalnum\fP" .br .ti -1c .RI "static const mask \fBalpha\fP" .br .ti -1c .RI "static const mask \fBblank\fP" .br .ti -1c .RI "static const mask \fBcntrl\fP" .br .ti -1c .RI "static const mask \fBdigit\fP" .br .ti -1c .RI "static const mask \fBgraph\fP" .br .ti -1c .RI "static \fBlocale::id\fP \fBid\fP" .br .RI "The facet id for ctype " .ti -1c .RI "static const mask \fBlower\fP" .br .ti -1c .RI "static const mask \fBprint\fP" .br .ti -1c .RI "static const mask \fBpunct\fP" .br .ti -1c .RI "static const mask \fBspace\fP" .br .ti -1c .RI "static const mask \fBupper\fP" .br .ti -1c .RI "static const mask \fBxdigit\fP" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual const \fBchar_type\fP * \fBdo_is\fP (const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi, mask *__vec) const" .br .RI "Return a mask array\&. " .ti -1c .RI "virtual bool \fBdo_is\fP (mask __m, \fBchar_type\fP __c) const" .br .RI "Test char_type classification\&. " .ti -1c .RI "virtual char \fBdo_narrow\fP (\fBchar_type\fP, char __dfault) const" .br .RI "Narrow char_type to char\&. " .ti -1c .RI "virtual const \fBchar_type\fP * \fBdo_narrow\fP (const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi, char __dfault, char *__to) const" .br .RI "Narrow char_type array to char\&. " .ti -1c .RI "virtual const \fBchar_type\fP * \fBdo_scan_is\fP (mask __m, const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Find char_type matching mask\&. " .ti -1c .RI "virtual const \fBchar_type\fP * \fBdo_scan_not\fP (mask __m, const \fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Find char_type not matching mask\&. " .ti -1c .RI "virtual const \fBchar_type\fP * \fBdo_tolower\fP (\fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Convert array to lowercase\&. " .ti -1c .RI "virtual \fBchar_type\fP \fBdo_tolower\fP (\fBchar_type\fP __c) const" .br .RI "Convert to lowercase\&. " .ti -1c .RI "virtual const \fBchar_type\fP * \fBdo_toupper\fP (\fBchar_type\fP *__lo, const \fBchar_type\fP *__hi) const" .br .RI "Convert array to uppercase\&. " .ti -1c .RI "virtual \fBchar_type\fP \fBdo_toupper\fP (\fBchar_type\fP __c) const" .br .RI "Convert to uppercase\&. " .ti -1c .RI "virtual \fBchar_type\fP \fBdo_widen\fP (char __c) const" .br .RI "Widen char\&. " .ti -1c .RI "virtual const char * \fBdo_widen\fP (const char *__lo, const char *__hi, \fBchar_type\fP *__dest) const" .br .RI "Widen char array\&. " .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static __c_locale \fB_S_clone_c_locale\fP (__c_locale &__cloc) throw ()" .br .ti -1c .RI "static void \fB_S_create_c_locale\fP (__c_locale &__cloc, const char *__s, __c_locale __old=0)" .br .ti -1c .RI "static void \fB_S_destroy_c_locale\fP (__c_locale &__cloc)" .br .ti -1c .RI "static __c_locale \fB_S_get_c_locale\fP ()" .br .ti -1c .RI "static const char * \fB_S_get_c_name\fP () throw ()" .br .ti -1c .RI "static __c_locale \fB_S_lc_ctype_c_locale\fP (__c_locale __cloc, const char *__s)" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::ctype_byname< _CharT >" class ctype_byname [22\&.2\&.1\&.2]\&. .PP Definition at line 1478 of file locale_facets\&.h\&. .SH "Member Function Documentation" .PP .SS "template virtual const \fBchar_type\fP* \fBstd::ctype\fP< _CharT >::do_is (const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi, mask * __vec) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Return a mask array\&. This function finds the mask for each char_type in the range [lo,hi) and successively writes it to vec\&. vec must have as many elements as the input\&. .PP do_is() is a hook for a derived facet to change the behavior of classifying\&. do_is() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .br \fI__vec\fP Pointer to an array of mask storage\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual bool \fBstd::ctype\fP< _CharT >::do_is (mask __m, \fBchar_type\fP __c) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Test char_type classification\&. This function finds a mask M for \fIc\fP and compares it to mask \fIm\fP\&. .PP do_is() is a hook for a derived facet to change the behavior of classifying\&. do_is() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to find the mask of\&. .br \fI__m\fP The mask to compare against\&. .RE .PP \fBReturns\fP .RS 4 (M & __m) != 0\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual char \fBstd::ctype\fP< _CharT >::do_narrow (\fBchar_type\fP __c, char __dfault) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Narrow char_type to char\&. This virtual function converts the argument to char using the simplest reasonable transformation\&. If the conversion fails, dfault is returned instead\&. .PP do_narrow() is a hook for a derived facet to change the behavior of narrowing\&. do_narrow() must always return the same result for the same input\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to convert\&. .br \fI__dfault\fP Char to return if conversion fails\&. .RE .PP \fBReturns\fP .RS 4 The converted char\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .PP Referenced by std::ctype< char >::narrow()\&. .SS "template virtual const \fBchar_type\fP* \fBstd::ctype\fP< _CharT >::do_narrow (const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi, char __dfault, char * __to) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Narrow char_type array to char\&. This virtual function converts each char_type in the range [__lo,__hi) to char using the simplest reasonable transformation and writes the results to the destination array\&. For any element in the input that cannot be converted, \fI__dfault\fP is used instead\&. .PP do_narrow() is a hook for a derived facet to change the behavior of narrowing\&. do_narrow() must always return the same result for the same input\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .br \fI__dfault\fP Char to use if conversion fails\&. .br \fI__to\fP Pointer to the destination array\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual const \fBchar_type\fP* \fBstd::ctype\fP< _CharT >::do_scan_is (mask __m, const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Find char_type matching mask\&. This function searches for and returns the first char_type c in [__lo,__hi) for which is(__m,c) is true\&. .PP do_scan_is() is a hook for a derived facet to change the behavior of match searching\&. do_is() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__m\fP The mask to compare against\&. .br \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 Pointer to a matching char_type if found, else \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual const \fBchar_type\fP* \fBstd::ctype\fP< _CharT >::do_scan_not (mask __m, const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Find char_type not matching mask\&. This function searches for and returns a pointer to the first char_type c of [lo,hi) for which is(m,c) is false\&. .PP do_scan_is() is a hook for a derived facet to change the behavior of match searching\&. do_is() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__m\fP The mask to compare against\&. .br \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 Pointer to a non-matching char_type if found, else \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual const \fBchar_type\fP* \fBstd::ctype\fP< _CharT >::do_tolower (\fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Convert array to lowercase\&. This virtual function converts each char_type in the range [__lo,__hi) to lowercase if possible\&. Other elements remain untouched\&. .PP do_tolower() is a hook for a derived facet to change the behavior of lowercasing\&. do_tolower() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual \fBchar_type\fP \fBstd::ctype\fP< _CharT >::do_tolower (\fBchar_type\fP __c) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Convert to lowercase\&. This virtual function converts the argument to lowercase if possible\&. If not possible (for example, '2'), returns the argument\&. .PP do_tolower() is a hook for a derived facet to change the behavior of lowercasing\&. do_tolower() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to convert\&. .RE .PP \fBReturns\fP .RS 4 The lowercase char_type if convertible, else \fI__c\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .PP Referenced by std::ctype< char >::tolower()\&. .SS "template virtual const \fBchar_type\fP* \fBstd::ctype\fP< _CharT >::do_toupper (\fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Convert array to uppercase\&. This virtual function converts each char_type in the range [__lo,__hi) to uppercase if possible\&. Other elements remain untouched\&. .PP do_toupper() is a hook for a derived facet to change the behavior of uppercasing\&. do_toupper() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template virtual \fBchar_type\fP \fBstd::ctype\fP< _CharT >::do_toupper (\fBchar_type\fP __c) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Convert to uppercase\&. This virtual function converts the char_type argument to uppercase if possible\&. If not possible (for example, '2'), returns the argument\&. .PP do_toupper() is a hook for a derived facet to change the behavior of uppercasing\&. do_toupper() must always return the same result for the same input\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to convert\&. .RE .PP \fBReturns\fP .RS 4 The uppercase char_type if convertible, else \fI__c\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .PP Referenced by std::ctype< char >::toupper()\&. .SS "template virtual \fBchar_type\fP \fBstd::ctype\fP< _CharT >::do_widen (char __c) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Widen char\&. This virtual function converts the char to char_type using the simplest reasonable transformation\&. .PP do_widen() is a hook for a derived facet to change the behavior of widening\&. do_widen() must always return the same result for the same input\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char to convert\&. .RE .PP \fBReturns\fP .RS 4 The converted char_type .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .PP Referenced by std::ctype< char >::widen()\&. .SS "template virtual const char* \fBstd::ctype\fP< _CharT >::do_widen (const char * __lo, const char * __hi, \fBchar_type\fP * __to) const\fC [protected]\fP, \fC [virtual]\fP, \fC [inherited]\fP" .PP Widen char array\&. This function converts each char in the input to char_type using the simplest reasonable transformation\&. .PP do_widen() is a hook for a derived facet to change the behavior of widening\&. do_widen() must always return the same result for the same input\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start range\&. .br \fI__hi\fP Pointer to end of range\&. .br \fI__to\fP Pointer to the destination array\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Implements \fBstd::__ctype_abstract_base< _CharT >\fP\&. .SS "template const \fBchar_type\fP* \fBstd::__ctype_abstract_base\fP< _CharT >::is (const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi, mask * __vec) const\fC [inline]\fP, \fC [inherited]\fP" .PP Return a mask array\&. This function finds the mask for each char_type in the range [lo,hi) and successively writes it to vec\&. vec must have as many elements as the char array\&. It does so by returning the value of ctype::do_is()\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .br \fI__vec\fP Pointer to an array of mask storage\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Definition at line 186 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_is()\&. .SS "template bool \fBstd::__ctype_abstract_base\fP< _CharT >::is (mask __m, \fBchar_type\fP __c) const\fC [inline]\fP, \fC [inherited]\fP" .PP Test char_type classification\&. This function finds a mask M for \fI__c\fP and compares it to mask \fI__m\fP\&. It does so by returning the value of ctype::do_is()\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to compare the mask of\&. .br \fI__m\fP The mask to compare against\&. .RE .PP \fBReturns\fP .RS 4 (M & __m) != 0\&. .RE .PP .PP Definition at line 169 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_is()\&. .PP Referenced by std::time_get< _CharT, _InIter >::get()\&. .SS "template char \fBstd::__ctype_abstract_base\fP< _CharT >::narrow (\fBchar_type\fP __c, char __dfault) const\fC [inline]\fP, \fC [inherited]\fP" .PP Narrow char_type to char\&. This function converts the char_type to char using the simplest reasonable transformation\&. If the conversion fails, dfault is returned instead\&. It does so by returning ctype::do_narrow(__c)\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to convert\&. .br \fI__dfault\fP Char to return if conversion fails\&. .RE .PP \fBReturns\fP .RS 4 The converted char\&. .RE .PP .PP Definition at line 331 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_narrow()\&. .PP Referenced by std::time_get< _CharT, _InIter >::get(), and std::time_put< _CharT, _OutIter >::put()\&. .SS "template const \fBchar_type\fP* \fBstd::__ctype_abstract_base\fP< _CharT >::narrow (const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi, char __dfault, char * __to) const\fC [inline]\fP, \fC [inherited]\fP" .PP Narrow array to char array\&. This function converts each char_type in the input to char using the simplest reasonable transformation and writes the results to the destination array\&. For any char_type in the input that cannot be converted, \fIdfault\fP is used instead\&. It does so by returning ctype::do_narrow(__lo, __hi, __dfault, __to)\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .br \fI__dfault\fP Char to use if conversion fails\&. .br \fI__to\fP Pointer to the destination array\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Definition at line 353 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_narrow()\&. .SS "template const \fBchar_type\fP* \fBstd::__ctype_abstract_base\fP< _CharT >::scan_is (mask __m, const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [inline]\fP, \fC [inherited]\fP" .PP Find char_type matching a mask\&. This function searches for and returns the first char_type c in [lo,hi) for which is(m,c) is true\&. It does so by returning ctype::do_scan_is()\&. .PP \fBParameters\fP .RS 4 \fI__m\fP The mask to compare against\&. .br \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 Pointer to matching char_type if found, else \fI__hi\fP\&. .RE .PP .PP Definition at line 202 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_scan_is()\&. .SS "template const \fBchar_type\fP* \fBstd::__ctype_abstract_base\fP< _CharT >::scan_not (mask __m, const \fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [inline]\fP, \fC [inherited]\fP" .PP Find char_type not matching a mask\&. This function searches for and returns the first char_type c in [lo,hi) for which is(m,c) is false\&. It does so by returning ctype::do_scan_not()\&. .PP \fBParameters\fP .RS 4 \fI__m\fP The mask to compare against\&. .br \fI__lo\fP Pointer to first char in range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 Pointer to non-matching char if found, else \fI__hi\fP\&. .RE .PP .PP Definition at line 218 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_scan_not()\&. .SS "template const \fBchar_type\fP* \fBstd::__ctype_abstract_base\fP< _CharT >::tolower (\fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [inline]\fP, \fC [inherited]\fP" .PP Convert array to lowercase\&. This function converts each char_type in the range [__lo,__hi) to lowercase if possible\&. Other elements remain untouched\&. It does so by returning ctype:: do_tolower(__lo, __hi)\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Definition at line 276 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_tolower()\&. .SS "template \fBchar_type\fP \fBstd::__ctype_abstract_base\fP< _CharT >::tolower (\fBchar_type\fP __c) const\fC [inline]\fP, \fC [inherited]\fP" .PP Convert to lowercase\&. This function converts the argument to lowercase if possible\&. If not possible (for example, '2'), returns the argument\&. It does so by returning ctype::do_tolower(c)\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to convert\&. .RE .PP \fBReturns\fP .RS 4 The lowercase char_type if convertible, else \fI__c\fP\&. .RE .PP .PP Definition at line 261 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_tolower()\&. .PP Referenced by std::time_get< _CharT, _InIter >::get()\&. .SS "template const \fBchar_type\fP* \fBstd::__ctype_abstract_base\fP< _CharT >::toupper (\fBchar_type\fP * __lo, const \fBchar_type\fP * __hi) const\fC [inline]\fP, \fC [inherited]\fP" .PP Convert array to uppercase\&. This function converts each char_type in the range [lo,hi) to uppercase if possible\&. Other elements remain untouched\&. It does so by returning ctype:: do_toupper(lo, hi)\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Definition at line 247 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_toupper()\&. .SS "template \fBchar_type\fP \fBstd::__ctype_abstract_base\fP< _CharT >::toupper (\fBchar_type\fP __c) const\fC [inline]\fP, \fC [inherited]\fP" .PP Convert to uppercase\&. This function converts the argument to uppercase if possible\&. If not possible (for example, '2'), returns the argument\&. It does so by returning ctype::do_toupper()\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char_type to convert\&. .RE .PP \fBReturns\fP .RS 4 The uppercase char_type if convertible, else \fI__c\fP\&. .RE .PP .PP Definition at line 232 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_toupper()\&. .PP Referenced by std::time_get< _CharT, _InIter >::get()\&. .SS "template \fBchar_type\fP \fBstd::__ctype_abstract_base\fP< _CharT >::widen (char __c) const\fC [inline]\fP, \fC [inherited]\fP" .PP Widen char to char_type\&. This function converts the char argument to char_type using the simplest reasonable transformation\&. It does so by returning ctype::do_widen(c)\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__c\fP The char to convert\&. .RE .PP \fBReturns\fP .RS 4 The converted char_type\&. .RE .PP .PP Definition at line 293 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_widen()\&. .PP Referenced by std::money_get< _CharT, _InIter >::do_get(), std::time_get< _CharT, _InIter >::do_get(), std::money_put< _CharT, _OutIter >::do_put(), and std::time_put< _CharT, _OutIter >::do_put()\&. .SS "template const char* \fBstd::__ctype_abstract_base\fP< _CharT >::widen (const char * __lo, const char * __hi, \fBchar_type\fP * __to) const\fC [inline]\fP, \fC [inherited]\fP" .PP Widen array to char_type\&. This function converts each char in the input to char_type using the simplest reasonable transformation\&. It does so by returning ctype::do_widen(c)\&. .PP Note: this is not what you want for codepage conversions\&. See codecvt for that\&. .PP \fBParameters\fP .RS 4 \fI__lo\fP Pointer to start of range\&. .br \fI__hi\fP Pointer to end of range\&. .br \fI__to\fP Pointer to the destination array\&. .RE .PP \fBReturns\fP .RS 4 \fI__hi\fP\&. .RE .PP .PP Definition at line 312 of file locale_facets\&.h\&. .PP References std::__ctype_abstract_base< _CharT >::do_widen()\&. .SH "Member Data Documentation" .PP .SS "template \fBlocale::id\fP \fBstd::ctype\fP< _CharT >::id\fC [static]\fP, \fC [inherited]\fP" .PP The facet id for ctype .PP Definition at line 620 of file locale_facets\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.