template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1493 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h

Public Methods

::fuchsia_accessibility_semantics::wire::Attributes Build ()

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

bool has_label ()
void clear_label ()

Clears the label field.

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

O(number_of_fields) complexity.

::fidl::StringView & label ()

The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

BuilderImpl & label (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

bool has_secondary_label ()
void clear_secondary_label ()

Clears the secondary_label field.

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

O(number_of_fields) complexity.

::fidl::StringView & secondary_label ()

The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

BuilderImpl & secondary_label (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

bool has_secondary_action_description ()
void clear_secondary_action_description ()

Clears the secondary_action_description field.

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

O(number_of_fields) complexity.

::fidl::StringView & secondary_action_description ()

A description of what the secondary action on a node (equivalent to long press or right click) should do.

BuilderImpl & secondary_action_description (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

A description of what the secondary action on a node (equivalent to long press or right click) should do.

bool has_range ()
void clear_range ()

Clears the range field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::RangeAttributes & range ()

The range attributes are filled if the element is a slider / a range

control.

BuilderImpl & range (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::RangeAttributes>> elem)

The range attributes are filled if the element is a slider / a range

control.

bool has_set ()
void clear_set ()

Clears the set field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::SetAttributes & set ()

Set attributes are filled if the element is part of some type of set.

For example, radio buttons that are related are part of the same set.

BuilderImpl & set (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::SetAttributes>> elem)

Set attributes are filled if the element is part of some type of set.

For example, radio buttons that are related are part of the same set.

bool has_list_attributes ()
void clear_list_attributes ()

Clears the list_attributes field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::SetAttributes & list_attributes ()

The list attributes should be filled if the node has the LIST role.

Note that only `size` and `set_element_ids` should be filled.

BuilderImpl & list_attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::SetAttributes>> elem)

The list attributes should be filled if the node has the LIST role.

Note that only `size` and `set_element_ids` should be filled.

bool has_list_element_attributes ()
void clear_list_element_attributes ()

Clears the list_element_attributes field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::SetAttributes & list_element_attributes ()

The list element attributes should be filled if the node has a

LIST_ELEMENT role and descends from a node with a LIST role.

Note that only `index` should be filled.

BuilderImpl & list_element_attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::SetAttributes>> elem)

The list element attributes should be filled if the node has a

LIST_ELEMENT role and descends from a node with a LIST role.

Note that only `index` should be filled.

bool has_hierarchical_level ()
void clear_hierarchical_level ()

Clears the hierarchical_level field.

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

O(number_of_fields) complexity.

uint32_t & hierarchical_level ()

The hierarchical level of an element. For example, a header can be of

level 1 to 6 in html or markdown.

BuilderImpl & hierarchical_level (uint32_t elem)

The hierarchical level of an element. For example, a header can be of

level 1 to 6 in html or markdown.

bool has_table_attributes ()
void clear_table_attributes ()

Clears the table_attributes field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::TableAttributes & table_attributes ()

The table attributes are filled when the element is a table.

BuilderImpl & table_attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::TableAttributes>> elem)

The table attributes are filled when the element is a table.

bool has_label_origin ()
void clear_label_origin ()

Clears the label_origin field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::LabelOrigin & label_origin ()

The origin of the label of this element.

BuilderImpl & label_origin (::fuchsia_accessibility_semantics::wire::LabelOrigin elem)

The origin of the label of this element.

bool has_is_keyboard_key ()
void clear_is_keyboard_key ()

Clears the is_keyboard_key field.

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

O(number_of_fields) complexity.

bool & is_keyboard_key ()

Whether the element is part of a virtual keyboard. For example, a key

on an onscreen keyboard.

BuilderImpl & is_keyboard_key (bool elem)

Whether the element is part of a virtual keyboard. For example, a key

on an onscreen keyboard.

bool has_table_row_attributes ()
void clear_table_row_attributes ()

Clears the table_row_attributes field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::TableRowAttributes & table_row_attributes ()

The table row attributes are filled when the element is a table row.

BuilderImpl & table_row_attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::TableRowAttributes>> elem)

The table row attributes are filled when the element is a table row.

bool has_table_cell_attributes ()
void clear_table_cell_attributes ()

Clears the table_cell_attributes field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::TableCellAttributes & table_cell_attributes ()

The table cell attributes are filled when the element is a table cell.

BuilderImpl & table_cell_attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::TableCellAttributes>> elem)

The table cell attributes are filled when the element is a table cell.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_accessibility_semantics::wire::Attributes, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility_semantics::wire::Attributes>> && frame)

Records