struct Schema
Declaration
struct Schema { /* full declaration omitted */ };
Description
Describes a schema used for message encoding and decoding and/or describing the shape of messages. One or more Channel records map to a single Schema.
Declared at: mcap/include/mcap/types.hpp:131
Member Variables
- public mcap::SchemaId id
- public std::string name
- public std::string encoding
- public mcap::ByteArray data
Method Overview
- public Schema()
- public Schema(const std::string_view name, const std::string_view encoding, const std::string_view data)
- public Schema(const std::string_view name, const std::string_view encoding, const mcap::ByteArray & data)
Methods
¶Schema()
Schema()
Declared at: mcap/include/mcap/types.hpp:137
¶Schema(const std::string_view name,
const std::string_view encoding,
const std::string_view data)
Schema(const std::string_view name,
const std::string_view encoding,
const std::string_view data)
Declared at: mcap/include/mcap/types.hpp:139
Parameters
- const std::string_view name
- const std::string_view encoding
- const std::string_view data
¶Schema(const std::string_view name,
const std::string_view encoding,
const mcap::ByteArray& data)
Schema(const std::string_view name,
const std::string_view encoding,
const mcap::ByteArray& data)
Declared at: mcap/include/mcap/types.hpp:145
Parameters
- const std::string_view name
- const std::string_view encoding
- const mcap::ByteArray& data