iv::DVarId Class Reference

#include <DVarId.hpp>

Static Public Attributes

static constexpr char TypeName [] = "DVarId"
 
static RuntimeIdDictionary Dictionary
 
- Static Public Attributes inherited from iv::RuntimeId< DVarId >
static constexpr char TypeName []
 

Additional Inherited Members

- Public Member Functions inherited from iv::RuntimeId< DVarId >
 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== (DVarId const &other) const
 
bool operator!= (DVarId const &other) const
 
bool operator< (DVarId 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 Public Member Functions inherited from iv::RuntimeId< DVarId >
static DVarId 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...
 

Detailed Description

Definition at line 8 of file DVarId.hpp.

Member Data Documentation

◆ TypeName

constexpr char iv::DVarId::TypeName[] = "DVarId"
staticconstexpr

Definition at line 11 of file DVarId.hpp.

◆ Dictionary

RuntimeIdDictionary iv::DVarId::Dictionary
static

Definition at line 12 of file DVarId.hpp.


The documentation for this class was generated from the following files: