Rerun C++ SDK
Loading...
Searching...
No Matches
filter_by_range.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/filter_by_range.def.rs".
3
4#pragma once
5
6#include "../../encodings/time_int.hpp"
7#include "../../result.hpp"
8
9#include <cstdint>
10#include <memory>
11
12namespace arrow {
13 class Array;
14 class DataType;
15 class StructBuilder;
16} // namespace arrow
17
18namespace rerun::blueprint::encodings {
19 /// **Encoding**: Configuration for the filter-by-range feature of the dataframe view.
20 ///
21 /// ⚠ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
22 ///
24 /// Beginning of the time range.
26
27 /// End of the time range (inclusive).
29
30 public:
31 FilterByRange() = default;
32 };
33} // namespace rerun::blueprint::encodings
34
35namespace rerun {
36 template <typename T>
37 struct Loggable;
38
39 /// \private
40 template <>
41 struct Loggable<blueprint::encodings::FilterByRange> {
42 static constexpr std::string_view ComponentType = "rerun.blueprint.encodings.FilterByRange";
43
44 /// Returns the arrow data type this type corresponds to.
45 static const std::shared_ptr<arrow::DataType>& arrow_data_type();
46
47 /// Serializes an array of `rerun::blueprint:: encodings::FilterByRange` into an arrow array.
49 const blueprint::encodings::FilterByRange* instances, size_t num_instances
50 );
51
52 /// Fills an arrow array builder with an array of this type.
53 static rerun::Error fill_arrow_array_builder(
54 arrow::StructBuilder* builder, const blueprint::encodings::FilterByRange* elements,
55 size_t num_elements
56 );
57 };
58} // 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: Configuration for the filter-by-range feature of the dataframe view.
Definition filter_by_range.hpp:23
rerun::encodings::TimeInt start
Beginning of the time range.
Definition filter_by_range.hpp:25
rerun::encodings::TimeInt end
End of the time range (inclusive).
Definition filter_by_range.hpp:28
Encoding: A 64-bit number describing either nanoseconds OR sequence numbers.
Definition time_int.hpp:24