Enum base class.
More...
#include <tdme/utilities/Enum.h>
Enum base class.
- Author
- Andreas Drewke
Definition at line 14 of file Enum.h.
◆ Enum()
Enum |
( |
const string & |
name, |
|
|
int32_t |
ordinal |
|
) |
| |
Public constructor.
- Parameters
-
name | name |
ordinal | ordinal or index |
Definition at line 6 of file Enum.cpp.
◆ equals()
bool equals |
( |
Enum * |
enumObject | ) |
const |
|
inline |
Compare enum with another enum.
- Returns
- equality
Definition at line 45 of file Enum.h.
◆ getName()
const string & getName |
( |
| ) |
const |
|
inline |
- Returns
- name
Definition at line 30 of file Enum.h.
◆ getOrdinal()
int32_t getOrdinal |
( |
| ) |
const |
|
inline |
- Returns
- ordinal or index
Definition at line 37 of file Enum.h.
◆ name
◆ ordinal
The documentation for this class was generated from the following files:
- /home/andreas/Development/drewke.net/tdme2/src/tdme/utilities/Enum.h
- /home/andreas/Development/drewke.net/tdme2/src/tdme/utilities/Enum.cpp