|
DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
|
Represents a Unicode character (as a UTF-32 char32_t code point). More...
#include <Char.h>
Public Member Functions | |
| Char () | |
| Initializes a new instance of the Char class with null character. | |
| Char (char32_t c) | |
| Initializes a new instance of the Char class with the specified Unicode code point. | |
| bool | Equals (char32_t c) const |
| char32_t | GetChar () const |
| void | operator= (char32_t c) |
| bool | operator== (char32_t c) const |
| String | ToString () const |
| Public Member Functions inherited from DotNetDupe::System::Object | |
| virtual | ~Object ()=default |
| Virtual destructor ensuring polymorphic cleanup. | |
| virtual bool | Equals (const Object &obj) const |
| Determines whether the specified Object is equal to the current Object. | |
| virtual int | GetHashCode () const |
| Serves as the default hash function. | |
| bool | operator== (const Object &obj) const |
| Determines reference equality between two objects. | |
| char * | ToStringA () const |
| Returns narrow-character string representation. | |
| wchar_t * | ToStringW () const |
| Returns wide-character string representation. | |
Static Public Member Functions | |
| static double | GetNumericValue (char32_t c) |
| Converts the specified numeric Unicode character to a double-precision floating point number. | |
| static bool | IsAscii (char32_t c) |
| Indicates whether the specified character is categorized as an ASCII character (0x00 - 0x7F). | |
| static bool | IsAsciiDigit (char32_t c) |
| static bool | IsAsciiHexDigit (char32_t c) |
| static bool | IsAsciiHexDigitLower (char32_t c) |
| static bool | IsAsciiHexDigitUpper (char32_t c) |
| static bool | IsAsciiLetter (char32_t c) |
| static bool | IsAsciiLetterLower (char32_t c) |
| static bool | IsAsciiLetterOrDigit (char32_t c) |
| static bool | IsAsciiLetterUpper (char32_t c) |
| static bool | IsBetween (char32_t c, char32_t minInclusive, char32_t maxInclusive) |
| static bool | IsControl (char32_t c) |
| static bool | IsDigit (char32_t c) |
| static bool | IsLetter (char32_t c) |
| static bool | IsLetterOrDigit (char32_t c) |
| static bool | IsLower (char32_t c) |
| static bool | IsNumber (char32_t c) |
| static bool | IsPunctuation (char32_t c) |
| static bool | IsSeparator (char32_t c) |
| static bool | IsSurrogate (char32_t c) |
| static bool | IsSymbol (char32_t c) |
| static bool | IsUpper (char32_t c) |
| static bool | IsWhiteSpace (char32_t c) |
| static char32_t | ToLower (char32_t c) |
| static String | ToString (char32_t c) |
| static char32_t | ToUpper (char32_t c) |
| Static Public Member Functions inherited from DotNetDupe::System::Object | |
| static bool | Equals (const Object &obj1, const Object &obj2) |
| Static helper determining whether two object instances are equal. | |
Represents a Unicode character (as a UTF-32 char32_t code point).
Provides static methods for classifying Unicode characters, converting between upper/lower cases, validating ASCII and Latin-1 ranges, and querying numeric values. Immutable value type; thread-safe for all operations.
| DotNetDupe::System::Char::Char | ( | ) |
| DotNetDupe::System::Char::Char | ( | char32_t | c | ) |
|
inline |
Definition at line 74 of file Char.h.
References DOTNETDUPE_API.
Referenced by DotNetDupe::System::Console::Write(), and DotNetDupe::System::Console::WriteLine().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Check BMP digits via std::iswdigit and Mathematical alphanumeric supplementary range.
Definition at line 89 of file Char.cpp.
Referenced by IsLetterOrDigit(), and IsNumber().
|
static |
Fast check for ASCII letters and Latin-1 supplement letters.
Evaluate BMP alpha status and CJK Unified Ideographs Extension B.
Definition at line 101 of file Char.cpp.
Referenced by IsLetterOrDigit().
|
static |
Combine letter and digit evaluations across Unicode planes.
Definition at line 114 of file Char.cpp.
References IsDigit(), and IsLetter().
|
static |
|
static |
|
static |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API, and ToLower().
| bool DotNetDupe::System::Char::operator== | ( | char32_t | c | ) | const |
|
static |
Fold ASCII and Latin-1 uppercase letters to lowercase via +0x20 offset.
Fold BMP wide-character locale code points.
Definition at line 120 of file Char.cpp.
Referenced by IsWhiteSpace().
| String DotNetDupe::System::Char::ToString | ( | ) | const |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API.
|
static |
References DOTNETDUPE_API.