RTI Connext Modern C++ API
Version 5.3.0
|
<<value-type>> Represents a EnumType member More...
#include "dds/core/xtypes/MemberType.hpp"
Public Member Functions | |
EnumMember (const std::string &name, int32_t ordinal) | |
const dds::core::string & | name () const |
Gets the name. | |
dds::core::string & | name () |
Gets the member name. | |
EnumMember & | name (const dds::core::string &value) |
Sets the name. | |
int32_t | ordinal () const |
Gets the ordinal. | |
EnumMember & | ordinal (int32_t the_ordinal) |
Sets the ordinal. | |
<<value-type>> Represents a EnumType member
Encapsulates the name and value (ordinal) of an IDL enum
type
dds::core::xtypes::EnumMember::EnumMember | ( | const std::string & | name, |
int32_t | ordinal | ||
) |
Creates a EnumMember with a name and value (ordinal)
const dds::core::string& dds::core::xtypes::EnumMember::name | ( | ) | const |
Gets the name.
dds::core::string& dds::core::xtypes::EnumMember::name | ( | ) |
Gets the member name.
EnumMember& dds::core::xtypes::EnumMember::name | ( | const dds::core::string & | value | ) |
Sets the name.
int32_t dds::core::xtypes::EnumMember::ordinal | ( | ) | const |
Gets the ordinal.
EnumMember& dds::core::xtypes::EnumMember::ordinal | ( | int32_t | the_ordinal | ) |
Sets the ordinal.