pjmsg_mcap_wrapper
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mcap::Schema Struct Reference

Detailed 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.

Definition at line 132 of file types.hpp.

#include <types.hpp>

Public Member Functions

 Schema ()=default
 
 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 ByteArray &data)
 

Public Attributes

SchemaId id
 
std::string name
 
std::string encoding
 
ByteArray data
 

Constructor & Destructor Documentation

◆ Schema() [1/3]

mcap::Schema::Schema ( )
default

◆ Schema() [2/3]

mcap::Schema::Schema ( const std::string_view  name,
const std::string_view  encoding,
const std::string_view  data 
)
inline

Definition at line 140 of file types.hpp.

◆ Schema() [3/3]

mcap::Schema::Schema ( const std::string_view  name,
const std::string_view  encoding,
const ByteArray data 
)
inline

Definition at line 146 of file types.hpp.

Member Data Documentation

◆ data

ByteArray mcap::Schema::data

Definition at line 136 of file types.hpp.

◆ encoding

std::string mcap::Schema::encoding

Definition at line 135 of file types.hpp.

◆ id

SchemaId mcap::Schema::id

Definition at line 133 of file types.hpp.

◆ name

std::string mcap::Schema::name

Definition at line 134 of file types.hpp.


The documentation for this struct was generated from the following file: