6#include "../result.hpp"
19 using DoubleBuilder = NumericBuilder<DoubleType>;
32 Scalar(
double value_) : value(value_) {}
34 Scalar& operator=(
double value_) {
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:89
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:75
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:21
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Archetype: Log a double-precision scalar.
Definition scalar.hpp:50
Component: A double-precision scalar.
Definition scalar.hpp:26