class Node

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

void Node ()

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

void Node (Node && )

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

void Node (Storage_ storage)
void Node (const Node & other)
Node & operator= (const Node & other)
bool operator== (const Node & other)
bool operator!= (const Node & other)
bool IsEmpty ()
const std::optional<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.

::std::optional<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.

Node & node_id (std::optional<uint32_t> value)

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.

const std::optional< ::fuchsia_accessibility_semantics::Role> & role ()

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

::std::optional< ::fuchsia_accessibility_semantics::Role> & role ()

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

Node & role (std::optional< ::fuchsia_accessibility_semantics::Role> value)

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

const std::optional< ::fuchsia_accessibility_semantics::States> & states ()

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

::std::optional< ::fuchsia_accessibility_semantics::States> & states ()

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

Node & states (std::optional< ::fuchsia_accessibility_semantics::States> value)

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

const std::optional< ::fuchsia_accessibility_semantics::Attributes> & attributes ()

A table of attributes of this node.

::std::optional< ::fuchsia_accessibility_semantics::Attributes> & attributes ()

A table of attributes of this node.

Node & attributes (std::optional< ::fuchsia_accessibility_semantics::Attributes> value)

A table of attributes of this node.

const std::optional< ::std::vector< ::fuchsia_accessibility_semantics::Action>> & actions ()

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

::std::optional< ::std::vector< ::fuchsia_accessibility_semantics::Action>> & actions ()

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

Node & actions (std::optional< ::std::vector< ::fuchsia_accessibility_semantics::Action>> value)

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

const std::optional< ::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.

::std::optional< ::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.

Node & child_ids (std::optional< ::std::vector<uint32_t>> value)

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.

const std::optional< ::fuchsia_ui_gfx::BoundingBox> & location ()

Local bounding box of this element.

::std::optional< ::fuchsia_ui_gfx::BoundingBox> & location ()

Local bounding box of this element.

Node & location (std::optional< ::fuchsia_ui_gfx::BoundingBox> value)

Local bounding box of this element.

Node & operator= (Node && )

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

const std::optional< ::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.

::std::optional< ::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.

Node & transform (std::optional< ::fuchsia_ui_gfx::Mat4> value)

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.

const std::optional<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.

::std::optional<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.

Node & container_id (std::optional<uint32_t> value)

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.

const std::optional< ::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.

::std::optional< ::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.

Node & node_to_container_transform (std::optional< ::fuchsia_ui_gfx::Mat4> value)

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.

void Node (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits