Struct MessageDefinition

Struct Documentation

struct MessageDefinition

Public Functions

inline bool operator==(const MessageDefinition &rhs) const

Public Members

std::string topic_type

The name of the type.

Should match the type in TopicMetadata for all topics using this message definition.

std::string encoding

The encoding technique used in encoded_message_definition.

See docs/message_definition_encoding.md for details of each encoding.

std::string encoded_message_definition

The full encoded message definition for this type.

std::string type_hash

REP-2011 type description hash if available for topic, “” otherwise.

Public Static Functions

static inline MessageDefinition empty_message_definition_for(const std::string &topic_type)

used when no message definition is available for a given topic type.