Rerun C++ SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
selected_columns.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_types/definitions/rerun/blueprint/datatypes/selected_columns.fbs".
3
4#pragma once
5
6#include "../../collection.hpp"
7#include "../../component_descriptor.hpp"
8#include "../../datatypes/utf8.hpp"
9#include "../../result.hpp"
10#include "component_column_selector.hpp"
11
12#include <cstdint>
13#include <memory>
14
15namespace arrow {
16 class Array;
17 class DataType;
18 class StructBuilder;
19} // namespace arrow
20
21namespace rerun::blueprint::datatypes {
22 /// **Datatype**: List of selected columns in a dataframe.
23 ///
24 /// ⚠ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
25 ///
27 /// The time columns to include
29
30 /// The component columns to include
32
33 public:
34 SelectedColumns() = 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::SelectedColumns> {
45 static constexpr ComponentDescriptor Descriptor =
46 "rerun.blueprint.datatypes.SelectedColumns";
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::SelectedColumns` into an arrow array.
53 const blueprint::datatypes::SelectedColumns* 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::SelectedColumns* elements,
59 size_t num_elements
60 );
61 };
62} // namespace rerun
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:99
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 ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:14
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Datatype: List of selected columns in a dataframe.
Definition selected_columns.hpp:26
rerun::Collection< rerun::datatypes::Utf8 > time_columns
The time columns to include.
Definition selected_columns.hpp:28
rerun::Collection< rerun::blueprint::datatypes::ComponentColumnSelector > component_columns
The component columns to include.
Definition selected_columns.hpp:31