template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_element::wire::ViewSpec Build ()

Build and return the table. The builder should not be used after this.

bool has_view_holder_token ()
void clear_view_holder_token ()

Clears the view_holder_token field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_views::wire::ViewHolderToken & view_holder_token ()

The view holder token for the presented Gfx view. Must be unset for

Flatland views. One of `view_holder_token` or `viewport_creation_token`

must be set.

BuilderImpl & view_holder_token (::fuchsia_ui_views::wire::ViewHolderToken elem)

The view holder token for the presented Gfx view. Must be unset for

Flatland views. One of `view_holder_token` or `viewport_creation_token`

must be set.

bool has_view_ref ()
void clear_view_ref ()

Clears the view_ref field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_views::wire::ViewRef & view_ref ()

The `ViewRef` of the presented Gfx view. Must be unset for Flatland

views.

BuilderImpl & view_ref (::fuchsia_ui_views::wire::ViewRef elem)

The `ViewRef` of the presented Gfx view. Must be unset for Flatland

views.

bool has_annotations ()
void clear_annotations ()

Clears the annotations field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_element::wire::Annotation> & annotations ()

The initial annotations associated with the presented view. Updates to

annotations are observed through the `AnnotationController` passed

to `PresentView()`.

Optional.

BuilderImpl & annotations (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_element::wire::Annotation>>> elem)

The initial annotations associated with the presented view. Updates to

annotations are observed through the `AnnotationController` passed

to `PresentView()`.

Optional.

bool has_viewport_creation_token ()
void clear_viewport_creation_token ()

Clears the viewport_creation_token field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_views::wire::ViewportCreationToken & viewport_creation_token ()

The viewport creation token for the presented Flatland view. Must be

unset for Gfx views. One of `view_holder_token` or `viewport_creation_token`

must be set.

BuilderImpl & viewport_creation_token (::fuchsia_ui_views::wire::ViewportCreationToken elem)

The viewport creation token for the presented Flatland view. Must be

unset for Gfx views. One of `view_holder_token` or `viewport_creation_token`

must be set.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_element::wire::ViewSpec, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_element::wire::ViewSpec>> && frame)

Records