Base Framework
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
CharTraits Class Reference

ASCII character characteristics. More...

#include <base/string/String.h>

Classes

class  ToLowerCase
 
class  ToUpperCase
 

Public Types

typedef char Char
 

Static Public Member Functions

static bool isASCII (char character) noexcept
 
static char toLower (char character) noexcept
 
static char toUpper (char character) noexcept
 

Static Public Attributes

static const char TERMINATOR = '\0'
 

Detailed Description

ASCII character characteristics.

Default character manipulators.

Version
1.0

Member Function Documentation

◆ isASCII()

static bool CharTraits::isASCII ( char  character)
inlinestaticnoexcept

Returns true if the character is an ASCII character.

Examples
testsuite/ftp.cpp, and testsuite/http.cpp.

◆ toLower()

static char CharTraits::toLower ( char  character)
inlinestaticnoexcept

Converts the character to lowercase.

◆ toUpper()

static char CharTraits::toUpper ( char  character)
inlinestaticnoexcept

Converts the character to uppercase.

Member Data Documentation

◆ TERMINATOR

const char CharTraits::TERMINATOR = '\0'
static

Specifies the terminator for NULL-terminated strings.