6#include "../collection.hpp"
7#include "../compiler_utils.hpp"
8#include "../component_batch.hpp"
9#include "../components/media_type.hpp"
10#include "../components/text.hpp"
11#include "../indicator_component.hpp"
12#include "../result.hpp"
91 static constexpr const char IndicatorComponentName[] =
92 "rerun.components.TextDocumentIndicator";
113 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
121 template <
typename T>
126 struct AsComponents<archetypes::TextDocument> {
128 static Result<std::vector<ComponentBatch>> serialize(
129 const archetypes::TextDocument& archetype
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:76
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:22
Archetype: A text element intended to be displayed in its own text box.
Definition text_document.hpp:77
rerun::components::Text text
Contents of the text document.
Definition text_document.hpp:79
TextDocument with_media_type(rerun::components::MediaType _media_type) &&
The Media Type of the text.
Definition text_document.hpp:110
std::optional< rerun::components::MediaType > media_type
The Media Type of the text.
Definition text_document.hpp:88
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:30
Component: A string of text, e.g. for labels and text documents.
Definition text.hpp:16