Single integral constant enumerator.
More...
#include <Type.h>
|
| template<typename T > |
| | Enumerator (const Name &name, T value) |
| | Construct a new enumerator with the given name and value.
|
| |
| const Name & | getName () const |
| | Get the name of the enumerator.
|
| |
| int | getValue () const |
| | Get the value of the enumerator.
|
| |
Single integral constant enumerator.
Definition at line 57 of file Type.h.
◆ Enumerator()
template<typename T >
| Cogs::Reflection::Enumerator::Enumerator |
( |
const Name & |
name, |
|
|
T |
value |
|
) |
| |
|
inline |
Construct a new enumerator with the given name and value.
Definition at line 61 of file Type.h.
◆ getName()
| const Name & Cogs::Reflection::Enumerator::getName |
( |
| ) |
const |
|
inline |
Get the name of the enumerator.
Definition at line 68 of file Type.h.
◆ getValue()
| int Cogs::Reflection::Enumerator::getValue |
( |
| ) |
const |
|
inline |
Get the value of the enumerator.
Definition at line 71 of file Type.h.
The documentation for this struct was generated from the following file:
- D:/a/1/s/Cogs/Cogs.Foundation/Source/Reflection/Type.h