6#include "../../blueprint/components/column_name.hpp"
7#include "../../collection.hpp"
8#include "../../component_batch.hpp"
9#include "../../component_column.hpp"
10#include "../../result.hpp"
17namespace rerun::blueprint::archetypes {
55 static constexpr const char ArchetypeName[] =
"rerun.blueprint.archetypes.TableBlueprint";
104 _segment_preview_column,
108 return std::move(*
this);
122 return std::move(*
this);
132 _grid_view_card_title,
136 return std::move(*
this);
148 return std::move(*
this);
172 template <
typename T>
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
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
static Result< ComponentBatch > from_loggable(const rerun::Collection< T > &components, const ComponentDescriptor &descriptor)
Creates a new component batch from a collection of component instances.
Definition component_batch.hpp:46
A ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:16
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Archetype: Blueprint for configuring the styling of a table.
Definition table_blueprint.hpp:22
static TableBlueprint update_fields()
Update only some specific fields of a TableBlueprint.
Definition table_blueprint.hpp:86
std::optional< ComponentBatch > url_column
The name of the column containing URLs to open when a card is clicked in grid view.
Definition table_blueprint.hpp:51
std::optional< ComponentBatch > segment_preview_column
The name of the column that contains recording URIs for segment previews.
Definition table_blueprint.hpp:30
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition table_blueprint.hpp:55
static constexpr auto Descriptor_flag_column
ComponentDescriptor for the flag_column field.
Definition table_blueprint.hpp:63
TableBlueprint with_flag_column(const rerun::blueprint::components::ColumnName &_flag_column) &&
The name of the boolean column used for flag/annotation toggles.
Definition table_blueprint.hpp:118
static constexpr auto Descriptor_segment_preview_column
ComponentDescriptor for the segment_preview_column field.
Definition table_blueprint.hpp:58
std::optional< ComponentBatch > flag_column
The name of the boolean column used for flag/annotation toggles.
Definition table_blueprint.hpp:39
std::optional< ComponentBatch > grid_view_card_title
The name of the column to use as the card title in grid view.
Definition table_blueprint.hpp:44
TableBlueprint with_grid_view_card_title(const rerun::blueprint::components::ColumnName &_grid_view_card_title) &&
The name of the column to use as the card title in grid view.
Definition table_blueprint.hpp:128
TableBlueprint with_url_column(const rerun::blueprint::components::ColumnName &_url_column) &&
The name of the column containing URLs to open when a card is clicked in grid view.
Definition table_blueprint.hpp:144
Collection< ComponentColumn > columns()
Partitions the component data into unit-length sub-batches.
static constexpr auto Descriptor_url_column
ComponentDescriptor for the url_column field.
Definition table_blueprint.hpp:73
static constexpr auto Descriptor_grid_view_card_title
ComponentDescriptor for the grid_view_card_title field.
Definition table_blueprint.hpp:68
Collection< ComponentColumn > columns(const Collection< uint32_t > &lengths_)
Partitions the component data into multiple sub-batches.
TableBlueprint with_segment_preview_column(const rerun::blueprint::components::ColumnName &_segment_preview_column) &&
The name of the column that contains recording URIs for segment previews.
Definition table_blueprint.hpp:100
static TableBlueprint clear_fields()
Clear all the fields of a TableBlueprint.
Component: The name of a column in a table.
Definition column_name.hpp:19