Character.
More...
#include <base/Character.h>
Inherits Object.
◆ Character() [1/3]
Initializes the character as '\0'.
◆ Character() [2/3]
Character::Character |
( |
char |
_value | ) |
|
|
inlinenoexcept |
Initializes the character. Implicit initialization with native type allowed.
- Parameters
-
◆ Character() [3/3]
Character::Character |
( |
const Character & |
copy | ) |
|
|
inlinenoexcept |
Initializes character from other character object.
◆ getValue()
char Character::getValue |
( |
| ) |
const |
|
inlinenoexcept |
Gets the value of the character.
◆ operator char()
Character::operator char |
( |
| ) |
const |
|
inlinenoexcept |
Casts character to native type.
◆ operator=() [1/2]
Character& Character::operator= |
( |
char |
value | ) |
|
|
inlinenoexcept |
Assignment of native type to this object.
◆ operator=() [2/2]
Assignment of character to this object.
◆ setValue()
void Character::setValue |
( |
char |
value | ) |
|
|
inlinenoexcept |
Sets the value of the character.
- Parameters
-
◆ value
char Character::value = '\0' |
|
protected |