Rerun C++ SDK
Loading...
Searching...
No Matches
text_log_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/text_log_column.fbs".
3
4#pragma once
5
6#include "../../datatypes/bool.hpp"
7#include "../../result.hpp"
8#include "text_log_column_kind.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 text log column.
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 /// What kind of column is this?
31 rerun::blueprint::datatypes::TextLogColumnKind kind;
32
33 public:
34 TextLogColumn() = 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::TextLogColumn> {
45 static constexpr std::string_view ComponentType = "rerun.blueprint.datatypes.TextLogColumn";
46
47 /// Returns the arrow data type this type corresponds to.
48 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
49
50 /// Serializes an array of `rerun::blueprint:: datatypes::TextLogColumn` into an arrow array.
52 const blueprint::datatypes::TextLogColumn* instances, size_t num_instances
53 );
54
55 /// Fills an arrow array builder with an array of this type.
56 static rerun::Error fill_arrow_array_builder(
57 arrow::StructBuilder* builder, const blueprint::datatypes::TextLogColumn* elements,
58 size_t num_elements
59 );
60 };
61} // 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 text log column.
Definition text_log_column.hpp:24
rerun::blueprint::datatypes::TextLogColumnKind kind
What kind of column is this?
Definition text_log_column.hpp:31
rerun::datatypes::Bool visible
Is this column visible?
Definition text_log_column.hpp:28
Datatype: A single boolean.
Definition bool.hpp:19