Rerun C++ SDK
Loading...
Searching...
No Matches
column_order.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/components/column_order.fbs".
3
4#pragma once
5
6#include "../../collection.hpp"
7#include "../../datatypes/entity_path.hpp"
8#include "../../result.hpp"
9
10#include <cstdint>
11#include <memory>
12#include <utility>
13
14namespace arrow {
15 class Array;
16 class DataType;
17 class ListBuilder;
18} // namespace arrow
19
20namespace rerun::blueprint::components {
21 /// **Component**: The order of component columns (which remain always grouped by entity path) in the dataframe view.
22 ///
23 /// Entities not in this list are appended at the end in their default order.
24 /// Entities in this list that are not present in the view are ignored.
25 ///
26 /// ⚠ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
27 ///
28 struct ColumnOrder {
30
31 public:
32 ColumnOrder() = default;
33
35 : entity_paths(std::move(entity_paths_)) {}
36
38 entity_paths = std::move(entity_paths_);
39 return *this;
40 }
41 };
42} // namespace rerun::blueprint::components
43
44namespace rerun {
45 template <typename T>
46 struct Loggable;
47
48 /// \private
49 template <>
50 struct Loggable<blueprint::components::ColumnOrder> {
51 static constexpr std::string_view ComponentType = "rerun.blueprint.components.ColumnOrder";
52
53 /// Returns the arrow data type this type corresponds to.
54 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
55
56 /// Serializes an array of `rerun::blueprint:: components::ColumnOrder` into an arrow array.
58 const blueprint::components::ColumnOrder* instances, size_t num_instances
59 );
60
61 /// Fills an arrow array builder with an array of this type.
62 static rerun::Error fill_arrow_array_builder(
63 arrow::ListBuilder* builder, const blueprint::components::ColumnOrder* elements,
64 size_t num_elements
65 );
66 };
67} // 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: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
Component: The order of component columns (which remain always grouped by entity path) in the datafra...
Definition column_order.hpp:28