Rerun C++ SDK
Loading...
Searching...
No Matches
text_log_column_kind.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 "../../result.hpp"
7
8#include <cstdint>
9#include <memory>
10
11namespace arrow {
12 /// \private
13 template <typename T>
14 class NumericBuilder;
15
16 class Array;
17 class DataType;
18 class UInt8Type;
19 using UInt8Builder = NumericBuilder<UInt8Type>;
20} // namespace arrow
21
22namespace rerun::blueprint::datatypes {
23 /// **Datatype**: A text log column kind.
24 enum class TextLogColumnKind : uint8_t {
25
26 /// Which entity path this was logged to.
27 EntityPath = 1,
28
29 /// The log level, i.e INFO, WARN, ERROR.
30 LogLevel = 2,
31
32 /// The text message the log has.
33 Body = 3,
34 };
35} // namespace rerun::blueprint::datatypes
36
37namespace rerun {
38 template <typename T>
39 struct Loggable;
40
41 /// \private
42 template <>
43 struct Loggable<blueprint::datatypes::TextLogColumnKind> {
44 static constexpr std::string_view ComponentType =
45 "rerun.blueprint.datatypes.TextLogColumnKind";
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::TextLogColumnKind` into an arrow array.
51 static Result<std::shared_ptr<arrow::Array>> to_arrow(
52 const blueprint::datatypes::TextLogColumnKind* 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::UInt8Builder* builder, const blueprint::datatypes::TextLogColumnKind* 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
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23