Struct RAIL_DB

Struct Documentation

struct RAIL_DB

Public Functions

void Add(const RAIL_KEY::KB_MOUSE &key, const PDJE_Dev_Type &type, const uint64_t &id, const int64_t offset)
void Add(const RAIL_KEY::MIDI &key, const uint64_t &id, const int64_t offset)
void Delete(const RAIL_KEY::KB_MOUSE &key)
void Delete(const RAIL_KEY::MIDI &key)
bool Empty()
void Clear()
std::optional<uint64_t> GetID(const RAIL_KEY::KB_MOUSE &key)
std::optional<uint64_t> GetID(const RAIL_KEY::MIDI &key)
std::optional<std::vector<RAIL_KEY::META>> GetMETA(const uint64_t id)

Public Members

std::unordered_map<std::string, int64_t> offset
std::unordered_map<uint64_t, std::vector<RAIL_KEY::META>> meta
std::unordered_map<RAIL_KEY::KB_MOUSE, uint64_t> kb_mouse_raildata
std::unordered_map<RAIL_KEY::MIDI, uint64_t> midi_raildata