Rerun C++ SDK
Loading...
Searching...
No Matches
component_column_selector.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/build/re_type_definitions/rerun/blueprint/encodings/component_column_selector.def.rs".
3
4#pragma once
5
6#include "../../encodings/entity_path.hpp"
7#include "../../encodings/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::encodings {
20 /// **Encoding**: Describe a component column to be selected in the dataframe view.
21 ///
22 /// ⚠ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
23 ///
25 /// The entity path for this component.
27
28 /// The name of the component.
29 ///
30 /// This acts as the component name in the context of a given `entity_path`
31 /// An example for this would be `Points3D:positions`, for the `positions` field in `archetypes::Points3D`.
33
34 public:
35 ComponentColumnSelector() = default;
36 };
37} // namespace rerun::blueprint::encodings
38
39namespace rerun {
40 template <typename T>
41 struct Loggable;
42
43 /// \private
44 template <>
46 static constexpr std::string_view ComponentType =
47 "rerun.blueprint.encodings.ComponentColumnSelector";
48
49 /// Returns the arrow data type this type corresponds to.
50 static const std::shared_ptr<arrow::DataType>& arrow_data_type();
51
52 /// Serializes an array of `rerun::blueprint:: encodings::ComponentColumnSelector` into an arrow array.
54 const blueprint::encodings::ComponentColumnSelector* instances, size_t num_instances
55 );
56
57 /// Fills an arrow array builder with an array of this type.
58 static rerun::Error fill_arrow_array_builder(
59 arrow::StructBuilder* builder,
60 const blueprint::encodings::ComponentColumnSelector* elements, size_t num_elements
61 );
62 };
63} // 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:26
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
Encoding: Describe a component column to be selected in the dataframe view.
Definition component_column_selector.hpp:24
rerun::encodings::EntityPath entity_path
The entity path for this component.
Definition component_column_selector.hpp:26
rerun::encodings::Utf8 component
The name of the component.
Definition component_column_selector.hpp:32
Encoding: A path to an entity in the ChunkStore.
Definition entity_path.hpp:21
Encoding: A string of text, encoded as UTF-8.
Definition utf8.hpp:21