|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
#include "etg/esi_entry.h"#include <algorithm>#include <format>#include <map>#include <nlohmann/json.hpp>#include <string>#include <string_view>#include <unordered_map>#include <utility>#include <vector>#include "core/util.h"Namespaces | |
| namespace | mm |
| namespace | mm::etg |
Functions | |
| std::expected< EsiEntryTable, std::string > | mm::etg::buildDeviceEntries (const EsiFile &file, const EsiDevice &device, const EsiEntryOptions &options={}) |
| Expands a device into a flat, slot-merged vector of object-dictionary entries. | |
| void | mm::etg::to_json (nlohmann::json &j, const EsiEnumOption &v) |
| Serialises an entry to JSON. Raw byte vectors are emitted as uppercase hexBinary strings, the same spelling the ESI itself uses; absent optionals are omitted. | |
| void | mm::etg::to_json (nlohmann::json &j, const EsiEntrySource &v) |
| void | mm::etg::to_json (nlohmann::json &j, const EsiEntry &v) |
| void | mm::etg::to_json (nlohmann::json &j, const EsiEntryTable &v) |
| uint16_t bitOffset = 0 |
| uint16_t bitSize = 0 |
| bool completeAccessDefault = false |
| std::size_t count = 0 |
| const EsiDictionary* dictionary = nullptr |
| std::string entryName |
| const std::vector<Property>* entryProperties = nullptr |
Overrides flagSource's, if set.
| uint16_t firstIndex = 0 |
| uint8_t firstSubindex = 0 |
| const EsiDataType::SubItem* flagSource = nullptr |
Flags + per-entry properties.
| uint32_t indexOffset = 0 |
| const EsiObject::Info* info = nullptr |
Value metadata, may be null.
| std::string label |
For warning messages: "device" or "module 0x04020001 slot 1".
| bool moduleOverride = false |
| EsiEntrySource origin |
| uint32_t pdoIndexOffset = 0 |
| std::vector<std::string> sources |
| uint8_t subindex = 0 |
| std::string_view typeName |
| std::unordered_map<std::string_view, const EsiDataType*> types |