6#include "../result.hpp"
19 using DoubleBuilder = NumericBuilder<DoubleType>;
32 Scalar(
double value_) : value(value_) {}
34 Scalar& operator=(
double value_) {
47 struct Loggable<components::Scalar> {
48 static constexpr const char Name[] =
"rerun.components.Scalar";
51 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:87
A class for representing either a usable value, or an error.
Definition result.hpp:14
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:69
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:20
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Component: A double-precision scalar.
Definition scalar.hpp:26