class FocusState

Defined at line 406 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

A ViewRef's state of focus.

Public Methods

void FocusState ()

Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

void FocusState (const FocusState & other)

Defined at line 409 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

FocusState & operator= (const FocusState & other)

Defined at line 410 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

void FocusState (FocusState && other)

Defined at line 411 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_ui_views::wire::FocusState> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_ui_views::wire::FocusState> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_views::wire::FocusState>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

bool & focused ()

Describes if a ViewRef has gained focus (true), or lost focus (false).

Required field.

bool has_focused ()
FocusState & operator= (FocusState && other)

Defined at line 412 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

FocusState & set_focused (bool elem)
FocusState & clear_focused ()
void FocusState (::fidl::AnyArena & allocator)
void FocusState (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_views::wire::FocusState>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_views::wire::FocusState>> && frame_ptr)
void ~FocusState ()

Defined at line 414 of file fidling/gen/sdk/fidl/fuchsia.ui.views/fuchsia.ui.views/cpp/fidl/fuchsia.ui.views/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder