6#include "../collection.hpp"
7#include "../datatypes/utf8pair.hpp"
8#include "../result.hpp"
36 :
pairs(std::move(pairs_)) {}
39 pairs = std::move(pairs_);
51 struct Loggable<components::KeyValuePairs> {
52 static constexpr std::string_view ComponentType =
"rerun.components.KeyValuePairs";
55 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
58 static Result<std::shared_ptr<arrow::Array>> to_arrow(
59 const components::KeyValuePairs* instances,
size_t num_instances
64 arrow::ListBuilder* builder,
const components::KeyValuePairs* elements,
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:103
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:79
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Component: A map of string keys to string values.
Definition key_value_pairs.hpp:28
rerun::Collection< rerun::datatypes::Utf8Pair > pairs
The key-value pairs that make up this string map.
Definition key_value_pairs.hpp:30