template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 648 of file fidling/gen/sdk/fidl/fuchsia.ui.observation.geometry/fuchsia.ui.observation.geometry/cpp/fidl/fuchsia.ui.observation.geometry/cpp/wire_types.h

Public Methods

::fuchsia_ui_observation_geometry::wire::ViewTreeSnapshot Build ()

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

bool has_time ()
void clear_time ()

Clears the time field.

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

O(number_of_fields) complexity.

int64_t & time ()

When the snapshot was taken. Timebase is monotonic time.

BuilderImpl & time (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

When the snapshot was taken. Timebase is monotonic time.

bool has_views ()
void clear_views ()

Clears the views field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_ui_observation_geometry::wire::ViewDescriptor> & views ()

The context view (at element 0) and a complete list of its descendant views.

If `MAX_VIEW_COUNT` is exceeded, this field is not set, and an error is reported in

`Error`.

BuilderImpl & views (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_ui_observation_geometry::wire::ViewDescriptor>>> elem)

The context view (at element 0) and a complete list of its descendant views.

If `MAX_VIEW_COUNT` is exceeded, this field is not set, and an error is reported in

`Error`.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ui_observation_geometry::wire::ViewTreeSnapshot, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_observation_geometry::wire::ViewTreeSnapshot>> && frame)

Records