class Node

Defined at line 2490 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.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 Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_accessibility_semantics::wire::Node> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_accessibility_semantics::wire::Node> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility_semantics::wire::Node>> frame)

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

void Node ()

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

void Node (const Node & other)

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

void Node (Node && other)

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

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.

bool has_node_id ()
::fuchsia_accessibility_semantics::wire::Role & role ()

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

bool has_role ()
::fuchsia_accessibility_semantics::wire::States & states ()

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

bool has_states ()
::fuchsia_accessibility_semantics::wire::Attributes & attributes ()

A table of attributes of this node.

bool has_attributes ()
::fidl::VectorView< ::fuchsia_accessibility_semantics::wire::Action> & actions ()

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

bool has_actions ()
::fidl::VectorView<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.

bool has_child_ids ()
::fuchsia_ui_gfx::wire::BoundingBox & location ()

Local bounding box of this element.

bool has_location ()
Node & operator= (const Node & other)

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

Node & operator= (Node && other)

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

::fuchsia_ui_gfx::wire::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.

bool has_transform ()
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.

bool has_container_id ()
::fuchsia_ui_gfx::wire::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.

bool has_node_to_container_transform ()
void ~Node ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder