Struct MessageView

Struct Documentation

struct MessageView

Returned when iterating over Messages in a file, MessageView contains a reference to one Message, a pointer to its Channel, and an optional pointer to that Channel’s Schema. The Channel pointer is guaranteed to be valid, while the Schema pointer may be null if the Channel references schema_id 0.

Public Functions

inline MessageView(const Message &message, const ChannelPtr channel, const SchemaPtr schema, RecordOffset offset)

Public Members

const Message &message
const ChannelPtr channel
const SchemaPtr schema
const RecordOffset messageOffset