|
Cogs.Foundation
|
Single integral constant enumerator. More...
#include <Type.h>
Public Member Functions | |
| 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.
|
inline |
Construct a new enumerator with the given name and value.
References Cogs::T.
|
inline |
Get the name of the enumerator.
|
inline |
Get the value of the enumerator.