6#include "../component_descriptor.hpp"
7#include "../result.hpp"
31 :
first(std::move(first_)),
second(std::move(second_)) {}
46 struct Loggable<datatypes::Utf8Pair> {
47 static constexpr ComponentDescriptor Descriptor =
"rerun.datatypes.Utf8Pair";
50 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
53 static Result<std::shared_ptr<arrow::Array>> to_arrow(
54 const datatypes::Utf8Pair* instances,
size_t num_instances
59 arrow::StructBuilder* builder,
const datatypes::Utf8Pair* elements,
size_t num_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: Stores a tuple of UTF-8 strings.
Definition utf8pair.hpp:21
rerun::datatypes::Utf8 first
The first string.
Definition utf8pair.hpp:23
Utf8Pair(rerun::datatypes::Utf8 first_, rerun::datatypes::Utf8 second_)
Creates a string pair.
Definition utf8pair.hpp:30
rerun::datatypes::Utf8 second
The second string.
Definition utf8pair.hpp:26
Datatype: A string of text, encoded as UTF-8.
Definition utf8.hpp:22