Public Member Functions | Public Attributes | List of all members
mcap::Schema Struct Reference

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

#include <types.hpp>

Public Member Functions

 Schema ()=default
 
 Schema (const std::string_view name, const std::string_view encoding, const ByteArray &data)
 
 Schema (const std::string_view name, const std::string_view encoding, const std::string_view data)
 

Public Attributes

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

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 131 of file types.hpp.

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 139 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 145 of file types.hpp.

Member Data Documentation

◆ data

ByteArray mcap::Schema::data

Definition at line 135 of file types.hpp.

◆ encoding

std::string mcap::Schema::encoding

Definition at line 134 of file types.hpp.

◆ id

SchemaId mcap::Schema::id

Definition at line 132 of file types.hpp.

◆ name

std::string mcap::Schema::name

Definition at line 133 of file types.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52