6#include "../result.hpp"
7#include "class_description.hpp"
35 :
class_id(_class_description.info.id),
51 struct Loggable<encodings::ClassDescriptionMapElem> {
52 static constexpr std::string_view ComponentType =
"rerun.encodings.ClassDescriptionMapElem";
55 static const std::shared_ptr<arrow::DataType>& arrow_data_type();
58 static Result<std::shared_ptr<arrow::Array>> to_arrow(
59 const encodings::ClassDescriptionMapElem* instances,
size_t num_instances
64 arrow::StructBuilder* builder,
const encodings::ClassDescriptionMapElem* elements,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:103
All built-in encodings. See Types in the Rerun manual.
Definition rerun.hpp:96
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:26
Encoding: A helper type for mapping encodings::ClassIds to class descriptions.
Definition class_description_map_elem.hpp:26
rerun::encodings::ClassDescription class_description
The value: class name, color, etc.
Definition class_description_map_elem.hpp:31
rerun::encodings::ClassId class_id
The key: the components::ClassId.
Definition class_description_map_elem.hpp:28
Encoding: The description of a semantic Class.
Definition class_description.hpp:35
Encoding: A 16-bit ID representing a type of semantic class.
Definition class_id.hpp:24