Rerun C++ SDK
Loading...
Searching...
No Matches
space_view_maximized.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/space_view_maximized.fbs".
3
4#pragma once
5
6#include "../collection.hpp"
7#include "../result.hpp"
8
9#include <cstdint>
10#include <memory>
11#include <optional>
12#include <utility>
13
14namespace arrow {
15 class Array;
16 class DataType;
17 class ListBuilder;
18} // namespace arrow
19
20namespace rerun::blueprint {
21 /// **Blueprint**: Whether a space view is maximized.
22 ///
23 /// Unstable. Used for the ongoing blueprint experimentations.
25 std::optional<rerun::Collection<uint8_t>> id;
26
27 public:
28 SpaceViewMaximized() = default;
29
30 SpaceViewMaximized(std::optional<rerun::Collection<uint8_t>> id_) : id(std::move(id_)) {}
31
32 SpaceViewMaximized& operator=(std::optional<rerun::Collection<uint8_t>> id_) {
33 id = std::move(id_);
34 return *this;
35 }
36 };
37} // namespace rerun::blueprint
38
39namespace rerun {
40 template <typename T>
41 struct Loggable;
42
43 /// \private
44 template <>
45 struct Loggable<blueprint::SpaceViewMaximized> {
46 static constexpr const char Name[] = "rerun.blueprint.SpaceViewMaximized";
47
48 /// Returns the arrow data type this type corresponds to.
49 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
50
51 /// Fills an arrow array builder with an array of this type.
52 static rerun::Error fill_arrow_array_builder(
53 arrow::ListBuilder* builder, const blueprint::SpaceViewMaximized* elements,
54 size_t num_elements
55 );
56
57 /// Serializes an array of `rerun::blueprint::SpaceViewMaximized` into an arrow array.
59 const blueprint::SpaceViewMaximized* instances, size_t num_instances
60 );
61 };
62} // namespace rerun
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:47
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: Whether a space view is maximized.
Definition space_view_maximized.hpp:24