6#include "../../blueprint/datatypes/utf8list.hpp"
7#include "../../collection.hpp"
8#include "../../component_descriptor.hpp"
9#include "../../result.hpp"
16namespace rerun::blueprint::components {
65 struct Loggable<blueprint::components::VisualizerOverrides> {
67 "rerun.blueprint.components.VisualizerOverrides";
70 static const std::shared_ptr<arrow::DataType>& arrow_datatype() {
75 static Result<std::shared_ptr<arrow::Array>> to_arrow(
76 const blueprint::components::VisualizerOverrides* instances,
size_t num_instances
78 if (num_instances == 0) {
79 return Loggable<rerun::blueprint::datatypes::Utf8List>::to_arrow(
nullptr, 0);
80 }
else if (instances ==
nullptr) {
82 ErrorCode::UnexpectedNullArgument,
83 "Passed array instances is null when num_elements> 0."
86 return Loggable<rerun::blueprint::datatypes::Utf8List>::to_arrow(
87 &instances->visualizers,
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:96
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
A ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:14
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Component: Override the visualizers for an entity.
Definition visualizer_overrides.hpp:27
rerun::blueprint::datatypes::Utf8List visualizers
Names of the visualizers that should be active.
Definition visualizer_overrides.hpp:29
Datatype: A list of strings of text, encoded as UTF-8.
Definition utf8list.hpp:23