8 bit character set.
More...
#include <base/string/CharacterSet.h>
Inherits Object.
8 bit character set.
8 bit character set.
- Version
- 1.0
◆ CharacterSet() [1/3]
CharacterSet::CharacterSet |
( |
| ) |
|
Initializes the character set filled with 0.
◆ CharacterSet() [2/3]
CharacterSet::CharacterSet |
( |
const String & |
path | ) |
|
|
inline |
Initializes the character set from the specified file.
◆ CharacterSet() [3/3]
Initalizes the character set from other character set.
◆ getCharacter()
ucs4 CharacterSet::getCharacter |
( |
uint8 |
value | ) |
const |
|
inlinenoexcept |
Returns the Unicode value of the specified character in the character set.
- Parameters
-
character | The character within the character set. |
◆ getCharacterSet()
const ucs4* CharacterSet::getCharacterSet |
( |
| ) |
const |
|
inlinenoexcept |
Returns the character set.
◆ load() [1/2]
Loads the character set.
- Parameters
-
serachPaths | The serach paths. |
path | The path of the character set (normally relative). |
◆ load() [2/2]
Loads the character set from the specified file.
◆ operator=()
Assignment of character set by character set.
◆ save()
Saves the character set to the specified file.
- Parameters
-
◆ setCharacter()
void CharacterSet::setCharacter |
( |
uint8 |
value, |
|
|
ucs4 |
code |
|
) |
| |
|
inlinenoexcept |
Sets the Unicode value of the specified character in the character set.
- Parameters
-
value | The 8 bit character within the character set. |
code | The Unicode value. |