Struct EnumValue
Defined in File idl_types.hpp
Struct Documentation
-
struct EnumValue
Public Functions
-
inline int32_t ddsCompatValue() const
Public Members
-
std::string name
-
int32_t value = 0
-
std::optional<int32_t> dds_compat_value
Wire (CDR) value, which can differ from the logical
valuefor DDS enums: a@value(N)annotation sets the display value to N while the value transmitted on the wire stays the sequential ordinal. An explicit IDL= Nsets both. Defaults tovaluewhen unset.
-
inline int32_t ddsCompatValue() const