libcluon
0.0.148
|
#include <MetaMessage.hpp>
Public Types | |
enum | MetaFieldDataTypes : uint16_t { BOOL_T = 0, UINT8_T = 2, INT8_T = 3, UINT16_T = 4, INT16_T = 5, UINT32_T = 6, INT32_T = 7, UINT64_T = 8, INT64_T = 9, CHAR_T = 11, FLOAT_T = 13, DOUBLE_T = 14, BYTES_T = 49, STRING_T = 51, MESSAGE_T = 53, UNDEFINED_T = 0xFFFF } |
Public Member Functions | |
MetaField ()=default | |
MetaField (const MetaField &)=default | |
MetaField (MetaField &&)=default | |
MetaField & | operator= (const MetaField &)=default |
MetaFieldDataTypes | fieldDataType () const noexcept |
MetaField & | fieldDataType (const MetaFieldDataTypes &v) noexcept |
std::string | fieldDataTypeName () const noexcept |
MetaField & | fieldDataTypeName (const std::string &v) noexcept |
std::string | fieldName () const noexcept |
MetaField & | fieldName (const std::string &v) noexcept |
uint32_t | fieldIdentifier () const noexcept |
MetaField & | fieldIdentifier (uint32_t v) noexcept |
std::string | defaultInitializationValue () const noexcept |
MetaField & | defaultInitializationValue (const std::string &v) noexcept |
This inner class provides a generic description for a message's fields. It is internally used during the processing of message specifications.
enum cluon::MetaMessage::MetaField::MetaFieldDataTypes : uint16_t |
|
default |
|
default |
|
default |
|
noexcept |
|
noexcept |
This method sets the field's default initialization value for this field.
v | Field's default initialization value for this field. |
|
noexcept |
|
noexcept |
This method sets the type for this field.
v | Type for this field. |
|
noexcept |
|
noexcept |
This method sets the type name for this field.
v | Type name for this field. |
|
noexcept |
|
noexcept |
This method sets the identifier for this field.
v | Identifier for this field. |
|
noexcept |
|
noexcept |
This method sets the name for this field.
v | Name for this field. |