6#include "../component_descriptor.hpp"
7#include "../result.hpp"
8#include "class_description.hpp"
33 :
class_id(_class_description.info.id),
49 struct Loggable<datatypes::ClassDescriptionMapElem> {
50 static constexpr ComponentDescriptor Descriptor =
"rerun.datatypes.ClassDescriptionMapElem";
53 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
56 static Result<std::shared_ptr<arrow::Array>> to_arrow(
57 const datatypes::ClassDescriptionMapElem* instances,
size_t num_instances
62 arrow::StructBuilder* builder,
const datatypes::ClassDescriptionMapElem* elements,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:95
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:83
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Datatype: A helper type for mapping datatypes::ClassIds to class descriptions.
Definition class_description_map_elem.hpp:24
rerun::datatypes::ClassDescription class_description
The value: class name, color, etc.
Definition class_description_map_elem.hpp:29
rerun::datatypes::ClassId class_id
The key: the components::ClassId.
Definition class_description_map_elem.hpp:26
Datatype: The description of a semantic Class.
Definition class_description.hpp:36
Datatype: A 16-bit ID representing a type of semantic class.
Definition class_id.hpp:25