iv::InputId Class Referencefinal

#include <InputId.hpp>

Static Public Attributes

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

Additional Inherited Members

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

Member Data Documentation

◆ TypeName

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

Definition at line 11 of file InputId.hpp.

◆ Dictionary

RuntimeIdDictionary iv::InputId::Dictionary
static

Definition at line 12 of file InputId.hpp.


The documentation for this class was generated from the following files:
  • ivorium_systems/InputSystem/InputBindingSystem/InputId.hpp
  • ivorium_systems/InputSystem/InputBindingSystem/InputId.cpp