Rerun C++ SDK
Loading...
Searching...
No Matches
auto_space_views.hpp
1// DO NOT EDIT! This file was auto-generated by crates/re_types_builder/src/codegen/cpp/mod.rs
2// Based on "crates/re_types/definitions/rerun/blueprint/auto_space_views.fbs".
3
4#pragma once
5
6#include "../result.hpp"
7
8#include <cstdint>
9#include <memory>
10
11namespace arrow {
12 class Array;
13 class BooleanBuilder;
14 class DataType;
15} // namespace arrow
16
17namespace rerun::blueprint {
18 /// **Blueprint**: A flag indicating space views should be automatically populated.
19 ///
20 /// Unstable. Used for the ongoing blueprint experimentations.
22 bool enabled;
23
24 public:
25 AutoSpaceViews() = default;
26
27 AutoSpaceViews(bool enabled_) : enabled(enabled_) {}
28
29 AutoSpaceViews& operator=(bool enabled_) {
30 enabled = enabled_;
31 return *this;
32 }
33 };
34} // namespace rerun::blueprint
35
36namespace rerun {
37 template <typename T>
38 struct Loggable;
39
40 /// \private
41 template <>
42 struct Loggable<blueprint::AutoSpaceViews> {
43 static constexpr const char Name[] = "rerun.blueprint.AutoSpaceViews";
44
45 /// Returns the arrow data type this type corresponds to.
46 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
47
48 /// Fills an arrow array builder with an array of this type.
49 static rerun::Error fill_arrow_array_builder(
50 arrow::BooleanBuilder* builder, const blueprint::AutoSpaceViews* elements,
51 size_t num_elements
52 );
53
54 /// Serializes an array of `rerun::blueprint::AutoSpaceViews` into an arrow array.
56 const blueprint::AutoSpaceViews* instances, size_t num_instances
57 );
58 };
59} // namespace rerun
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 blueprint types. This is still experimental and subject to change!
Definition rerun.hpp:75
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
Blueprint: A flag indicating space views should be automatically populated.
Definition auto_space_views.hpp:21