6#include "../component_descriptor.hpp"
7#include "../result.hpp"
16 class FixedSizeListBuilder;
28 Uuid(std::array<uint8_t, 16> bytes_) :
bytes(bytes_) {}
30 Uuid& operator=(std::array<uint8_t, 16> bytes_) {
43 struct Loggable<datatypes::Uuid> {
44 static constexpr ComponentDescriptor Descriptor =
"rerun.datatypes.Uuid";
47 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
50 static Result<std::shared_ptr<arrow::Array>> to_arrow(
51 const datatypes::Uuid* instances,
size_t num_instances
56 arrow::FixedSizeListBuilder* builder,
const datatypes::Uuid* 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 16-byte UUID.
Definition uuid.hpp:21
std::array< uint8_t, 16 > bytes
The raw bytes representing the UUID.
Definition uuid.hpp:23