eckit::codec namespace

Classes

class Data
class Exception
class NotEncodable
class NotDecodable
class InvalidRecord
class DataCorruption
class WriteError
class FileStream
class InputFileStream
class OutputFileStream
class Metadata
struct Bytes
class JSONFormat
class MetadataPrettyPrintBase
class MetadataPrettyPrint
class TableFormat
class ReadRequest
class Record
struct RecordItem
class RecordItemReader
class RecordPrinter
class RecordReader
class RecordWriter
Write record.
class Session
class Stream
Handle to a shared eckit::DataHandle.
class ArrayShape
class ArrayMetadata
class ArrayReference

Enums

enum class Mode { read, append, write }

Functions

auto link(const std::string& uri) -> Link
template<typename T, disable_if_interpretable_t<T, ArrayReference> = 0>
auto ref(const T& x, tag::enable_static_assert = tag::enable_static_assert()) -> Reference<T>
template<typename T, disable_if_interpretable_t<T, ArrayReference> = 0>
auto ref(const T& x, tag::disable_static_assert) -> Reference<T>
template<typename T, enable_if_interpretable_t<T, ArrayReference> = 0>
auto ref(const T& x, tag::enable_static_assert = tag::enable_static_assert()) -> ArrayReference
template<typename T>
auto copy(T&& value, tag::disable_static_assert) -> RecordItem
template<typename T>
auto copy(T&& value) -> RecordItem
template<typename T>
void encode(const T& in, Metadata& metadata, Data& data, tag::enable_static_assert = tag::enable_static_assert())
template<typename T>
void encode(const T& in, Metadata& metadata, Data& data, tag::disable_static_assert)
void encode_data(const Data&, Data& out)
auto uncompressed_size(const Metadata& m) -> size_t
void write(const Metadata&, std::ostream& out)
void write(const Metadata&, Stream& out)
auto encode_metadata(const RecordItem& in, Metadata& metadata) -> size_t
void encode_data(const RecordItem& in, Data& out)
template<typename Interpreted, typename T>
auto interprete(T& in) -> Interpreted
auto encode_metadata(const ArrayMetadata& value, Metadata& out) -> size_t
auto encode_metadata(const ArrayReference& value, Metadata& out) -> size_t
void encode_data(const ArrayReference& value, Data& out)
auto encode_metadata(const int&, Metadata&) -> size_t
auto encode_metadata(const long&, Metadata&) -> size_t
auto encode_metadata(const long long&, Metadata&) -> size_t
auto encode_metadata(const unsigned long&, Metadata&) -> size_t
auto encode_metadata(const unsigned long long&, Metadata&) -> size_t
auto encode_metadata(const float&, Metadata&) -> size_t
auto encode_metadata(const double&, Metadata&) -> size_t
void encode_data(const int&, Data&)
void encode_data(const long&, Data&)
void encode_data(const long long&, Data&)
void encode_data(const unsigned long&, Data&)
void encode_data(const unsigned long long&, Data&)
void encode_data(const float&, Data&)
void encode_data(const double&, Data&)
void decode(const Metadata&, const Data&, int&)
void decode(const Metadata&, const Data&, long&)
void decode(const Metadata&, const Data&, long long&)
void decode(const Metadata&, const Data&, unsigned long&)
void decode(const Metadata&, const Data&, unsigned long long&)
void decode(const Metadata&, const Data&, float&)
void decode(const Metadata&, const Data&, double&)
auto encode_metadata(const std::string& value, Metadata& out) -> size_t
void encode_data(const std::string&, Data&)
void decode(const Metadata& metadata, const Data&, std::string& value)