6#include "../collection.hpp"
7#include "../component_descriptor.hpp"
8#include "../result.hpp"
39 data = std::move(data_);
51 struct Loggable<datatypes::Blob> {
52 static constexpr ComponentDescriptor Descriptor =
"rerun.datatypes.Blob";
55 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
58 static Result<std::shared_ptr<arrow::Array>> to_arrow(
59 const datatypes::Blob* instances,
size_t num_instances
64 arrow::ListBuilder* builder,
const datatypes::Blob* elements,
size_t num_elements
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
size_t size() const
Returns the number of instances in this collection.
Definition collection.hpp:291
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 binary blob of data.
Definition blob.hpp:22
size_t size() const
Number of bytes.
Definition blob.hpp:27