class Node

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

The Node represents a semantic element on an interface. This may

be a button, a text field, a checkbox or any element that has a relevant

semantic meaning so that assistive technology can understand the current UI.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const uint32_t & node_id ()

Unique ID that represents a node in a particular UI.

Zero is assumed to be the root node and the only entry point to the tree.

No forest is allowed.

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

bool has_node_id ()

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

uint32_t * mutable_node_id ()

Unique ID that represents a node in a particular UI.

Zero is assumed to be the root node and the only entry point to the tree.

No forest is allowed.

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

void clear_node_id ()

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

const ::fuchsia::accessibility::semantics::Role & role ()

Role of this element, e.g. button, checkbox, etc.

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

bool has_role ()

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

::fuchsia::accessibility::semantics::Role * mutable_role ()

Role of this element, e.g. button, checkbox, etc.

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

void clear_role ()

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

bool has_states ()

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

::fuchsia::accessibility::semantics::States * mutable_states ()

A table of states of this object, e.g. checked, editable, etc.

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

void clear_states ()

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

const ::fuchsia::accessibility::semantics::Attributes & attributes ()

A table of attributes of this node.

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

bool has_attributes ()

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

::fuchsia::accessibility::semantics::Attributes * mutable_attributes ()

A table of attributes of this node.

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

void clear_attributes ()

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

const ::std::vector< ::fuchsia::accessibility::semantics::Action> & actions ()

A list of actions that can be performed on this node.

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

bool has_actions ()

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

::std::vector< ::fuchsia::accessibility::semantics::Action> * mutable_actions ()

A list of actions that can be performed on this node.

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

void clear_actions ()

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

const ::std::vector<uint32_t> & child_ids ()

The list of child IDs of this node, in traversal order. Runtimes supplying semantic tree

information are responsible for ensuring the tree does not contain cycles. Each node may

have only one parent.

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

bool has_child_ids ()

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

::std::vector<uint32_t> * mutable_child_ids ()

The list of child IDs of this node, in traversal order. Runtimes supplying semantic tree

information are responsible for ensuring the tree does not contain cycles. Each node may

have only one parent.

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

void clear_child_ids ()

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

const ::fuchsia::ui::gfx::BoundingBox & location ()

Local bounding box of this element.

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

bool has_location ()

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

::fuchsia::ui::gfx::BoundingBox * mutable_location ()

Local bounding box of this element.

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

void clear_location ()

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

bool has_transform ()

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

::fuchsia::ui::gfx::mat4 * mutable_transform ()

Transform from this node's coordinate space to its container's space. 4x4 for compatibility

with scenic. This matrix is required to have the form

[ Sx 0 0 Tx ]

[ 0 Sy 0 Ty ]

[ 0 0 Sz Tz ]

[ 0 0 0 1 ]

where Sx, Sy, and Sz are scale factors and Tx, Ty, Tz are the translation factors for

the x, y, and z components.

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

void clear_transform ()

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

const uint32_t & container_id ()

Node ID of the ancestor of this node that is used as the target of |transform|.

If not present, this is interpreted as this node's parent.

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

bool has_container_id ()

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

uint32_t * mutable_container_id ()

Node ID of the ancestor of this node that is used as the target of |transform|.

If not present, this is interpreted as this node's parent.

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

void clear_container_id ()

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

const ::fuchsia::ui::gfx::mat4 & node_to_container_transform ()

NOTE: We are deprecating `transform` in favor of `node_to_container_transform`. Clients

must NOT set both fields.

Transform from this node's coordinate space to its container's space. If the `container_id`

field is set, then that id specifies the container node. Otherwise, this node's parent is

the container node.

Additionally, if `container_id` is set, the fuchsia accessibility manager will

post-translate this node's coordinate space by its container's `location.min` after

applying `node_to_container_transform` when converting to the container's coordinate space.

If `container_id` is unset, this post-translation will NOT be applied.

4x4 for compatibility with scenic. This matrix is required to have the form:

[ Sx 0 0 Tx ]

[ 0 Sy 0 Ty ]

[ 0 0 Sz Tz ]

[ 0 0 0 1 ]

where Sx, Sy, and Sz are scale factors and Tx, Ty, Tz are the translation factors for

the x, y, and z components.

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

bool has_node_to_container_transform ()

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

::fuchsia::ui::gfx::mat4 * mutable_node_to_container_transform ()

NOTE: We are deprecating `transform` in favor of `node_to_container_transform`. Clients

must NOT set both fields.

Transform from this node's coordinate space to its container's space. If the `container_id`

field is set, then that id specifies the container node. Otherwise, this node's parent is

the container node.

Additionally, if `container_id` is set, the fuchsia accessibility manager will

post-translate this node's coordinate space by its container's `location.min` after

applying `node_to_container_transform` when converting to the container's coordinate space.

If `container_id` is unset, this post-translation will NOT be applied.

4x4 for compatibility with scenic. This matrix is required to have the form:

[ Sx 0 0 Tx ]

[ 0 Sy 0 Ty ]

[ 0 0 Sz Tz ]

[ 0 0 0 1 ]

where Sx, Sy, and Sz are scale factors and Tx, Ty, Tz are the translation factors for

the x, y, and z components.

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

void clear_node_to_container_transform ()

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

Node & set_node_id (uint32_t _value)
Node & set_role (::fuchsia::accessibility::semantics::Role _value)
Node & set_states (::fuchsia::accessibility::semantics::States _value)
Node & set_attributes (::fuchsia::accessibility::semantics::Attributes _value)
Node & set_actions (::std::vector< ::fuchsia::accessibility::semantics::Action> _value)
Node & set_child_ids (::std::vector<uint32_t> _value)
Node & set_location (::fuchsia::ui::gfx::BoundingBox _value)
Node & set_transform (::fuchsia::ui::gfx::mat4 _value)
Node & set_container_id (uint32_t _value)
Node & set_node_to_container_transform (::fuchsia::ui::gfx::mat4 _value)
void Node ()
void Node (Node && other)
const ::fuchsia::accessibility::semantics::States & states ()

A table of states of this object, e.g. checked, editable, etc.

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

const ::fuchsia::ui::gfx::mat4 & transform ()

Transform from this node's coordinate space to its container's space. 4x4 for compatibility

with scenic. This matrix is required to have the form

[ Sx 0 0 Tx ]

[ 0 Sy 0 Ty ]

[ 0 0 Sz Tz ]

[ 0 0 0 1 ]

where Sx, Sy, and Sz are scale factors and Tx, Ty, Tz are the translation factors for

the x, y, and z components.

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

void ~Node ()
Node & operator= (Node && other)
::std::unique_ptr<Node> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Node * _value, size_t _offset)
zx_status_t Clone (Node * _result)