class Attributes
Defined at line 1152 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
An attribute is an essential property to describe an element. Unlike states, attributes do not
change over the life of an element.
Example: A button with a label attribute 'ok' should never change to 'cancel', as this is not
the same element.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
Attributes & set_label (::std::string _value)
Attributes & set_secondary_label (::std::string _value)
Attributes & set_secondary_action_description (::std::string _value)
Attributes & set_range (::fuchsia::accessibility::semantics::RangeAttributes _value)
Attributes & set_set (::fuchsia::accessibility::semantics::SetAttributes _value)
Attributes & set_list_attributes (::fuchsia::accessibility::semantics::SetAttributes _value)
Attributes & set_list_element_attributes (::fuchsia::accessibility::semantics::SetAttributes _value)
Attributes & set_hierarchical_level (uint32_t _value)
Attributes & set_table_attributes (::fuchsia::accessibility::semantics::TableAttributes _value)
Attributes & set_label_origin (::fuchsia::accessibility::semantics::LabelOrigin _value)
Attributes & set_is_keyboard_key (bool _value)
Attributes & set_table_row_attributes (::fuchsia::accessibility::semantics::TableRowAttributes _value)
Attributes & set_table_cell_attributes (::fuchsia::accessibility::semantics::TableCellAttributes _value)
void Attributes ()
void Attributes (Attributes && other)
void ~Attributes ()
Attributes & operator= (Attributes && other)
::std::unique_ptr<Attributes> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Attributes * _value, size_t _offset)
zx_status_t Clone (Attributes * _result)
const ::std::string & label ()
The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible
for truncating the label.
Defined at line 1160 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_label ()
Defined at line 1164 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::std::string * mutable_label ()
The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible
for truncating the label.
Defined at line 1170 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_label ()
Defined at line 1178 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::std::string & secondary_label ()
The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible
for truncating the label.
Defined at line 1188 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_secondary_label ()
Defined at line 1192 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::std::string * mutable_secondary_label ()
The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible
for truncating the label.
Defined at line 1198 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_secondary_label ()
Defined at line 1206 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::std::string & secondary_action_description ()
A description of what the secondary action on a node (equivalent to long press or right click) should do.
Defined at line 1215 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_secondary_action_description ()
Defined at line 1219 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::std::string * mutable_secondary_action_description ()
A description of what the secondary action on a node (equivalent to long press or right click) should do.
Defined at line 1224 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_secondary_action_description ()
Defined at line 1232 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::RangeAttributes & range ()
The range attributes are filled if the element is a slider / a range
control.
Defined at line 1242 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_range ()
Defined at line 1246 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::RangeAttributes * mutable_range ()
The range attributes are filled if the element is a slider / a range
control.
Defined at line 1252 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_range ()
Defined at line 1260 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::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.
Defined at line 1270 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_set ()
Defined at line 1274 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::SetAttributes * mutable_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.
Defined at line 1280 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_set ()
Defined at line 1288 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::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.
Defined at line 1298 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_list_attributes ()
Defined at line 1302 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::SetAttributes * mutable_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.
Defined at line 1308 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_list_attributes ()
Defined at line 1316 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::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.
Defined at line 1327 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_list_element_attributes ()
Defined at line 1331 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::SetAttributes * mutable_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.
Defined at line 1338 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_list_element_attributes ()
Defined at line 1346 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const 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.
Defined at line 1356 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_hierarchical_level ()
Defined at line 1360 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
uint32_t * mutable_hierarchical_level ()
The hierarchical level of an element. For example, a header can be of
level 1 to 6 in html or markdown.
Defined at line 1366 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_hierarchical_level ()
Defined at line 1374 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::TableAttributes & table_attributes ()
The table attributes are filled when the element is a table.
Defined at line 1383 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_table_attributes ()
Defined at line 1387 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::TableAttributes * mutable_table_attributes ()
The table attributes are filled when the element is a table.
Defined at line 1392 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_table_attributes ()
Defined at line 1400 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::LabelOrigin & label_origin ()
The origin of the label of this element.
Defined at line 1409 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_label_origin ()
Defined at line 1413 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::LabelOrigin * mutable_label_origin ()
The origin of the label of this element.
Defined at line 1418 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_label_origin ()
Defined at line 1426 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const bool & is_keyboard_key ()
Whether the element is part of a virtual keyboard. For example, a key
on an onscreen keyboard.
Defined at line 1436 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_is_keyboard_key ()
Defined at line 1440 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool * mutable_is_keyboard_key ()
Whether the element is part of a virtual keyboard. For example, a key
on an onscreen keyboard.
Defined at line 1446 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_is_keyboard_key ()
Defined at line 1454 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::TableRowAttributes & table_row_attributes ()
The table row attributes are filled when the element is a table row.
Defined at line 1463 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_table_row_attributes ()
Defined at line 1467 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::TableRowAttributes * mutable_table_row_attributes ()
The table row attributes are filled when the element is a table row.
Defined at line 1472 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_table_row_attributes ()
Defined at line 1480 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
const ::fuchsia::accessibility::semantics::TableCellAttributes & table_cell_attributes ()
The table cell attributes are filled when the element is a table cell.
Defined at line 1489 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
bool has_table_cell_attributes ()
Defined at line 1493 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
::fuchsia::accessibility::semantics::TableCellAttributes * mutable_table_cell_attributes ()
The table cell attributes are filled when the element is a table cell.
Defined at line 1498 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h
void clear_table_cell_attributes ()
Defined at line 1506 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/hlcpp/fuchsia/accessibility/semantics/cpp/fidl.h