class AnnotationValue

Defined at line 627 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/wire_types.h

The value of an [`fuchsia.element/Annotation`].

The actual field used depends on the type of annotation.

Public Methods

void AnnotationValue ()
void ~AnnotationValue ()
void AnnotationValue (AnnotationValue && other)
AnnotationValue & operator= (AnnotationValue && other)
bool has_invalid_tag ()
bool is_text ()
AnnotationValue WithText (::fidl::ObjectView< ::fidl::StringView> val)
template <typename... Args>
AnnotationValue WithText (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 647 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/wire_types.h

::fidl::StringView & text ()
const ::fidl::StringView & text ()
bool is_buffer ()
AnnotationValue WithBuffer (::fidl::ObjectView< ::fuchsia_mem::wire::Buffer> val)
template <typename... Args>
AnnotationValue WithBuffer (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 661 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/wire_types.h

::fuchsia_mem::wire::Buffer & buffer ()
const ::fuchsia_mem::wire::Buffer & buffer ()
::fuchsia_element::wire::AnnotationValue::Tag Which ()
void _CloseHandles ()

Enumerations

enum Tag
Name Value
kText 1
kBuffer 2

Defined at line 635 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/wire_types.h