eckit::codec::ArrayMetadata class

Derived classes

class ArrayReference

Public types

using ArrayShape = eckit::codec::ArrayShape
using DataType = eckit::codec::DataType

Public static functions

static auto type() -> std::string

Constructors, destructors, conversion operators

ArrayMetadata()
ArrayMetadata(const Metadata&) explicit
ArrayMetadata(const DataType&, const ArrayShape&) explicit
ArrayMetadata(const ArrayMetadata&)
ArrayMetadata(ArrayMetadata&&)

Public functions

auto operator=(ArrayMetadata&&) -> ArrayMetadata&
auto rank() const -> int
auto shape(int i) const -> int
auto shape() const -> const ArrayShape&
auto datatype() const -> DataType
auto size() const -> size_t
auto bytes() const -> size_t

Friends

auto encode_metadata(const ArrayMetadata& value, Metadata& out) -> size_t