#include <LogId.hpp>
|
| RuntimeId () |
|
| RuntimeId (int runtime) |
|
| RuntimeId (const char *persistent) |
| No warning if conversion fails. More...
|
|
| RuntimeId (const char *persistent, Context *context) |
| Emmits warning if conversion fails. More...
|
|
bool | operator== (LogId const &other) const |
|
bool | operator!= (LogId const &other) const |
|
bool | operator< (LogId const &other) const |
|
int | runtime_value () const |
|
std::string | persistent_value () const |
|
bool | valid () const |
| Same result as comparing it to default value, eg myid != MyRuntimeId() . More...
|
|
static LogId | create (const char *persistent_name) |
| If RuntimeId was already locked, this will emmit runtime_warning. More...
|
|
static void | lock () |
| This tells us that something used ids_count for something that will not be changed, so that functionality of newer ids might be incomplete. Creating new ids after locking the RuntimeId will emmit runtime_warning. More...
|
|
static size_t | ids_count () |
| How many ids exist, including invalid id 0. Min id is ids_count - 1. All ids between 0 and ids_count are valid ids. More...
|
|
Definition at line 10 of file LogId.hpp.
◆ TypeName
constexpr char iv::LogId::TypeName[] = "LogId" |
|
staticconstexpr |
◆ Dictionary
The documentation for this class was generated from the following files: