[#BloombergLP-bdlb-CharType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::CharType :relfileprefix: ../../ :mrdocs: This `struct` provides a namespace for a suite of pure procedures operating on the fundamental type `char`. == Synopsis Declared in `<bdlb_chartype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CharType; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/CharType/_04enum.adoc[`Unnamed enum`] | Constants for this component. | xref:BloombergLP/bdlb/CharType/Category.adoc[`Category`] | Set of character categories supported by this component. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/CharType/isAll.adoc[`isAll`] | Return whether `character` is in the `ALL` category. | xref:BloombergLP/bdlb/CharType/isAlnum.adoc[`isAlnum`] | Return whether `character` is alphanumeric. | xref:BloombergLP/bdlb/CharType/isAlpha.adoc[`isAlpha`] | Return whether `character` is alphabetic. | xref:BloombergLP/bdlb/CharType/isAlund.adoc[`isAlund`] | Return whether `character` is alphabetic or underscore. | xref:BloombergLP/bdlb/CharType/isAscii.adoc[`isAscii`] | Return whether `character` is a 7‐bit ASCII character. | xref:BloombergLP/bdlb/CharType/isCategory.adoc[`isCategory`] | Return whether `character` belongs to `category`. | xref:BloombergLP/bdlb/CharType/isCntrl.adoc[`isCntrl`] | Return whether `character` is a control character. | xref:BloombergLP/bdlb/CharType/isDigit.adoc[`isDigit`] | Return whether `character` is a decimal digit. | xref:BloombergLP/bdlb/CharType/isGraph.adoc[`isGraph`] | Return whether `character` is printable, excluding space. | xref:BloombergLP/bdlb/CharType/isIdent.adoc[`isIdent`] | Return whether `character` is a C‐style identifier character. | xref:BloombergLP/bdlb/CharType/isLower.adoc[`isLower`] | Return whether `character` is a lowercase letter. | xref:BloombergLP/bdlb/CharType/isNone.adoc[`isNone`] | Return whether `character` is in the `NONE` category. | xref:BloombergLP/bdlb/CharType/isOdigit.adoc[`isOdigit`] | Return whether `character` is an octal digit. | xref:BloombergLP/bdlb/CharType/isPrint.adoc[`isPrint`] | Return whether `character` is printable, including space. | xref:BloombergLP/bdlb/CharType/isPunct.adoc[`isPunct`] | Return whether `character` is punctuation. | xref:BloombergLP/bdlb/CharType/isSpace.adoc[`isSpace`] | Return whether `character` is a whitespace character. | xref:BloombergLP/bdlb/CharType/isUpper.adoc[`isUpper`] | Return whether `character` is an uppercase letter. | xref:BloombergLP/bdlb/CharType/isXdigit.adoc[`isXdigit`] | Return whether `character` is a hexadecimal digit. | xref:BloombergLP/bdlb/CharType/numAll.adoc[`numAll`] | Return the number of characters in the `ALL` category. | xref:BloombergLP/bdlb/CharType/numAlnum.adoc[`numAlnum`] | Return the number of characters in the category `ALNUM` (i.e., `[0‐9A‐Za‐Z]`). | xref:BloombergLP/bdlb/CharType/numAlpha.adoc[`numAlpha`] | Return the number of characters in the category `ALPHA` (i.e., `[A‐Za‐z]`). | xref:BloombergLP/bdlb/CharType/numAlund.adoc[`numAlund`] | Return the number of characters in the category `ALUND` (i.e., `[ALPHA|]`). | xref:BloombergLP/bdlb/CharType/numAscii.adoc[`numAscii`] | Return the number of characters in the category `ASCII` (i.e., `[0‐177]`). | xref:BloombergLP/bdlb/CharType/numCategory.adoc[`numCategory`] | Return the number of characters in the specified `category`. | xref:BloombergLP/bdlb/CharType/numCntrl.adoc[`numCntrl`] | Return the number of characters in the category `CNTRL` (i.e., `[1‐37]` and `177`). | xref:BloombergLP/bdlb/CharType/numDigit.adoc[`numDigit`] | Return the number of characters in the category `DIGIT` (i.e., `[0‐9]`). | xref:BloombergLP/bdlb/CharType/numGraph.adoc[`numGraph`] | Return the number of characters in the category `GRAPH` (i.e., any printable character except `SPACE`), and `false` otherwise. | xref:BloombergLP/bdlb/CharType/numIdent.adoc[`numIdent`] | Return the number of characters in the category `IDENT` (i.e., `[ALNUM|]`). | xref:BloombergLP/bdlb/CharType/numLower.adoc[`numLower`] | Return the number of characters in the category `LOWER` (i.e., `[a‐z]`). | xref:BloombergLP/bdlb/CharType/numNone.adoc[`numNone`] | Return the number of characters in the NONE category. | xref:BloombergLP/bdlb/CharType/numOdigit.adoc[`numOdigit`] | Return the number of characters in the category `ODIGIT` (i.e., `[0‐7]`). | xref:BloombergLP/bdlb/CharType/numPrint.adoc[`numPrint`] | Return the number of characters in the category `PRINT` (i.e., any printable character including `SPACE`). | xref:BloombergLP/bdlb/CharType/numPunct.adoc[`numPunct`] | Return the number of characters in the category `PUNCT` (i.e., any printable character other than `SPACE` or `ALNUM`). | xref:BloombergLP/bdlb/CharType/numSpace.adoc[`numSpace`] | Return the number of characters in the category `SPACE` (i.e., `[space|tab|CR|NL|VT|FF]`). | xref:BloombergLP/bdlb/CharType/numUpper.adoc[`numUpper`] | Return the number of characters in the category `UPPER` (i.e., `[A‐Z]`). | xref:BloombergLP/bdlb/CharType/numXdigit.adoc[`numXdigit`] | Return the number of characters in the category `XDIGIT` (i.e., `[0‐9A‐Fa‐f]`). | xref:BloombergLP/bdlb/CharType/stringAll.adoc[`stringAll`] | Return all `ALL` characters as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringAlnum.adoc[`stringAlnum`] | Return a null‐terminated string consisting of all characters in the category `ALNUM` (i.e., `[0‐9A‐Za‐Z]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringAlpha.adoc[`stringAlpha`] | Return a null‐terminated string consisting of all characters in the category `ALPHA` (i.e., `[A‐Za‐z]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringAlund.adoc[`stringAlund`] | Return a null‐terminated string consisting of all characters in the category `ALUND` (i.e., `[ALPHA|]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringAscii.adoc[`stringAscii`] | Return all `ASCII` characters as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringCategory.adoc[`stringCategory`] | Return all characters in `category` as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringCntrl.adoc[`stringCntrl`] | Return all `CNTRL` characters as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringDigit.adoc[`stringDigit`] | Return a null‐terminated string consisting of all characters in the category `DIGIT` (i.e., `[0‐9]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringGraph.adoc[`stringGraph`] | Return all `GRAPH` characters as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringIdent.adoc[`stringIdent`] | Return a null‐terminated string consisting of all characters in the category `IDENT` (i.e., `[ALNUM|]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringLower.adoc[`stringLower`] | Return a null‐terminated string consisting of all characters in the category `LOWER` (i.e., `[a‐z]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringNone.adoc[`stringNone`] | Return a null‐terminated string consisting of all characters in the category `NONE`. Note that this string is empty. | xref:BloombergLP/bdlb/CharType/stringOdigit.adoc[`stringOdigit`] | Return a null‐terminated string consisting of all characters in the category `DIGIT` (i.e., `[0‐7]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringPrint.adoc[`stringPrint`] | Return all `PRINT` characters as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringPunct.adoc[`stringPunct`] | Return all `PUNCT` characters as a null‐terminated string. | xref:BloombergLP/bdlb/CharType/stringSpace.adoc[`stringSpace`] | Return a null‐terminated string consisting of all characters in the category `SPACE` (i.e., `[space|tab|CR|NL|VT|FF]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringUpper.adoc[`stringUpper`] | Return a null‐terminated string consisting of all characters in the category `UPPER` (i.e., `[A‐Z]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/stringXdigit.adoc[`stringXdigit`] | Return a null‐terminated string consisting of all characters in the category `XDIGIT` (i.e., `[0‐9A‐Fa‐f]`), ordered by increasing character codes. | xref:BloombergLP/bdlb/CharType/toAscii.adoc[`toAscii`] | Return the enumerator name for `category` as a C string. | xref:BloombergLP/bdlb/CharType/toLower.adoc[`toLower`] | Return the lowercase equivalent of `input`. | xref:BloombergLP/bdlb/CharType/toUpper.adoc[`toUpper`] | Return the uppercase equivalent of `input`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#