6#include "../result.hpp"
30 :
first(std::move(first_)),
second(std::move(second_)) {}
45 struct Loggable<datatypes::Utf8Pair> {
46 static constexpr std::string_view ComponentType =
"rerun.datatypes.Utf8Pair";
49 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
52 static Result<std::shared_ptr<arrow::Array>> to_arrow(
53 const datatypes::Utf8Pair* instances,
size_t num_instances
58 arrow::StructBuilder* builder,
const datatypes::Utf8Pair* elements,
size_t num_elements
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:99
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:82
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:20
rerun::datatypes::Utf8 first
The first string.
Definition utf8pair.hpp:22
Utf8Pair(rerun::datatypes::Utf8 first_, rerun::datatypes::Utf8 second_)
Creates a string pair.
Definition utf8pair.hpp:29
rerun::datatypes::Utf8 second
The second string.
Definition utf8pair.hpp:25
Datatype: A string of text, encoded as UTF-8.
Definition utf8.hpp:21