|
constexpr bool | operator== (const Token &c) const |
|
| Token (const char *s) |
| Construct a new Token object from a string at run-time. A unique id is generated and if it fails it will exit the application through a failing assert.
|
|
constexpr bool | operator< (const Token &rhs) const |
|
constexpr bool | operator> (const Token &rhs) const |
|
constexpr size_t | toIndex () const |
| returns the unique index for this color.
|
|
constexpr const auto & | toString () const |
| returns the string-representation for this color.
|
|
constexpr bool | operator== (const Token &c) const |
|
template<class T > |
constexpr bool | operator== (const T &) const |
|
|
static std::vector< std::string_view > | getColors () |
| Get a list of all the colors.
|
|
template<class T > |
constexpr | Token (T *const) |
| Creates a Token with a unique numerical id and a string representation based on the name of the argument-type at compile-time.
|
|
The documentation for this struct was generated from the following file: