Class TUnicodeCharSet
Unit
Declaration
type TUnicodeCharSet = class(TCardinalList)
Description
Manage a set (without duplicates) of Unicode character codes.
Hierarchy
- TObject
- TList
- TStructList
- TCardinalList
- TUnicodeCharSet
Overview
Methods
![]() |
procedure Add(const C: TUnicodeChar); reintroduce; overload; |
![]() |
procedure Add(const SampleText: string); overload; |
![]() |
procedure Add(const Characters: TSetOfChars); overload; |
![]() |
function ToString: String; override; |
Description
Methods
![]() |
procedure Add(const C: TUnicodeChar); reintroduce; overload; |
|
Add a single Unicode character. Doesn't add duplicates (contrary to ancestor Add). | |
![]() |
procedure Add(const SampleText: string); overload; |
|
Add all characters from SampleText. Useful to fill TUnicodeCharSet when you have a sample text of international letters. Doesn't add duplicates. | |
![]() |
procedure Add(const Characters: TSetOfChars); overload; |
|
Add all characters from given set. Try e.g. SimpleAsciiCharacters. Doesn't add duplicates. | |
![]() |
function ToString: String; override; |
|
Express all characters inside the set as one string. The resulting String follows the encoding conventions used throughout CGE, which means it will be UTF-8 with FPC (AnsiString) or UTF-16 with Delphi (UnicodeString). See https://castle-engine.io/coding_conventions#strings_unicode . | |
Generated by PasDoc 0.16.0-snapshot.
