Rerun C++ SDK
Loading...
Searching...
No Matches
timeline_column.hpp
1// DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/cpp/mod.rs
2// Based on "crates/store/re_sdk_types/definitions/rerun/blueprint/datatypes/timeline_column.fbs".
3
4#pragma once
5
6#include "../../datatypes/bool.hpp"
7#include "../../datatypes/utf8.hpp"
8#include "../../result.hpp"
9
10#include <cstdint>
11#include <memory>
12
13namespace arrow {
14 class Array;
15 class DataType;
16 class StructBuilder;
17} // namespace arrow
18
19namespace rerun::blueprint::datatypes {
20 /// **Datatype**: A timeline column in a table.
21 ///
22 /// ⚠ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
23 ///
25 /// Is this column visible?
26 ///
27 /// Defaults to true.
29
30 /// Which timeline is this?
32
33 public:
34 TimelineColumn() = default;
35 };
36} // namespace rerun::blueprint::datatypes
37
38namespace rerun {
39 template <typename T>
40 struct Loggable;
41
42 /// \private
43 template <>
44 struct Loggable<blueprint::datatypes::TimelineColumn> {
45 static constexpr std::string_view ComponentType =
46 "rerun.blueprint.datatypes.TimelineColumn";
47
48 /// Returns the arrow data type this type corresponds to.
49 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
50
51 /// Serializes an array of `rerun::blueprint:: datatypes::TimelineColumn` into an arrow array.
53 const blueprint::datatypes::TimelineColumn* instances, size_t num_instances
54 );
55
56 /// Fills an arrow array builder with an array of this type.
57 static rerun::Error fill_arrow_array_builder(
58 arrow::StructBuilder* builder, const blueprint::datatypes::TimelineColumn* elements,
59 size_t num_elements
60 );
61 };
62} // namespace rerun
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:103
A class for representing either a usable value, or an error.
Definition result.hpp:14
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
A type of component that can be registered.
Definition component_type.hpp:19
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Datatype: A timeline column in a table.
Definition timeline_column.hpp:24
rerun::datatypes::Utf8 timeline
Which timeline is this?
Definition timeline_column.hpp:31
rerun::datatypes::Bool visible
Is this column visible?
Definition timeline_column.hpp:28
Datatype: A single boolean.
Definition bool.hpp:19
Datatype: A string of text, encoded as UTF-8.
Definition utf8.hpp:21