Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::etg::EsiEnumOption Struct Reference

One label/value pair of an enumerated entry. More...

#include <esi_entry.h>

Collaboration diagram for mm::etg::EsiEnumOption:
[legend]

Public Attributes

std::string label
 
int64_t value = 0
 

Detailed Description

One label/value pair of an enumerated entry.

Merged from two sources: the DataType's <EnumInfo> children (the schema's own mechanism) and an "options" Property whose value is a JSON object mapping label to integer (the convention Synapticon uses instead). EnumInfo entries come first; the property contributes any label not already present.

Member Data Documentation

◆ label

std::string mm::etg::EsiEnumOption::label

◆ value

int64_t mm::etg::EsiEnumOption::value = 0

The documentation for this struct was generated from the following file: