eckit::message::Message class

Message represents an immutable data object with metadata attached Modifications to messages create new messages via transformation actions

Constructors, destructors, conversion operators

Message()
Message(MessageContent*) explicit
Message(const Message&)
~Message()
operator bool() const explicit

Public functions

auto operator=(const Message&) -> Message&
void write(eckit::DataHandle&) const
auto length() const -> size_t
auto offset() const -> eckit::Offset
auto data() const -> const void*
auto getString(const std::string& key) const -> std::string
auto getLong(const std::string& key) const -> long
auto getDouble(const std::string& key) const -> double
void getDoubleArray(const std::string& key, std::vector<double>&) const
auto getSize(const std::string& key) const -> size_t
void getDoubleArray(const std::string& key, double* data, size_t len) const
void getMetadata(MetadataGatherer&, GetMetadataOptions options = GetMetadataOptions{}) const
auto decode() const -> eckit::Buffer
auto readHandle() const -> eckit::DataHandle*
auto request() const -> mars::MarsRequest
auto transform(const eckit::StringDict& modifiers) const -> Message

Friends

auto operator<<(std::ostream& s, const Message& p) -> std::ostream&