LibreOffice: rtl/character.hxx File Reference

LibreOffice LibreOffice 7.4 SDK C/C++ API Reference

Loading...
Searching...
No Matches
Namespaces | Functions
character.hxx File Reference
`#include "sal/config.h"`
`#include <cassert>`
`#include <cstddef>`
`#include "sal/types.h"`

Go to the source code of this file.

## Namespaces
namespace | rtl

## Functions
SAL_CONSTEXPR bool | rtl::isUnicodeCodePoint (sal_uInt32 code)
| Check for Unicode code point.
SAL_CONSTEXPR bool | rtl::isAscii (sal_uInt32 code)
| Check for ASCII character.
SAL_CONSTEXPR bool | rtl::isAsciiLowerCase (sal_uInt32 code)
| Check for ASCII lower case character.
SAL_CONSTEXPR bool | rtl::isAsciiUpperCase (sal_uInt32 code)
| Check for ASCII upper case character.
SAL_CONSTEXPR bool | rtl::isAsciiAlpha (sal_uInt32 code)
| Check for ASCII alphabetic character.
SAL_CONSTEXPR bool | rtl::isAsciiDigit (sal_uInt32 code)
| Check for ASCII digit character.
SAL_CONSTEXPR bool | rtl::isAsciiAlphanumeric (sal_uInt32 code)
| Check for ASCII alphanumeric character.
SAL_CONSTEXPR bool | rtl::isAsciiCanonicHexDigit (sal_uInt32 code)
| Check for ASCII canonic hexadecimal digit character.
SAL_CONSTEXPR bool | rtl::isAsciiHexDigit (sal_uInt32 code)
| Check for ASCII hexadecimal digit character.
SAL_CONSTEXPR bool | rtl::isAsciiOctalDigit (sal_uInt32 code)
| Check for ASCII octal digit character.
SAL_CONSTEXPR bool | rtl::isAsciiWhiteSpace (sal_uInt32 code)
| Check for ASCII white space character.
SAL_CONSTEXPR sal_uInt32 | rtl::toAsciiUpperCase (sal_uInt32 code)
| Convert a character, if ASCII, to upper case.
SAL_CONSTEXPR sal_uInt32 | rtl::toAsciiLowerCase (sal_uInt32 code)
| Convert a character, if ASCII, to lower case.
SAL_CONSTEXPR sal_Int32 | rtl::compareIgnoreAsciiCase (sal_uInt32 code1, sal_uInt32 code2)
| Compare two characters ignoring ASCII case.
SAL_CONSTEXPR bool | rtl::isSurrogate (sal_uInt32 code)
| Check for surrogate.
SAL_CONSTEXPR bool | rtl::isHighSurrogate (sal_uInt32 code)
| Check for high surrogate.
SAL_CONSTEXPR bool | rtl::isLowSurrogate (sal_uInt32 code)
| Check for low surrogate.
SAL_CONSTEXPR sal_Unicode | rtl::getHighSurrogate (sal_uInt32 code)
| Get high surrogate half of a non-BMP Unicode code point.
SAL_CONSTEXPR sal_Unicode | rtl::getLowSurrogate (sal_uInt32 code)
| Get low surrogate half of a non-BMP Unicode code point.
SAL_CONSTEXPR sal_uInt32 | rtl::combineSurrogates (sal_uInt32 high, sal_uInt32 low)
| Combine surrogates to form a code point.
SAL_CONSTEXPR std::size_t | rtl::splitSurrogates (sal_uInt32 code, sal_Unicode *output)
| Split a Unicode code point into UTF-16 code units.
SAL_CONSTEXPR bool | rtl::isUnicodeScalarValue (sal_uInt32 code)
| Check for Unicode scalar value.