template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 2682 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::Node Build ()
Build and return the table. The builder should not be used after this.
bool has_node_id ()
void clear_node_id ()
Clears the node_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & node_id (uint32_t elem)
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_role ()
void clear_role ()
Clears the role field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_accessibility_semantics::wire::Role & role ()
Role of this element, e.g. button, checkbox, etc.
BuilderImpl & role (::fuchsia_accessibility_semantics::wire::Role elem)
Role of this element, e.g. button, checkbox, etc.
bool has_states ()
void clear_states ()
Clears the states field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_accessibility_semantics::wire::States & states ()
A table of states of this object, e.g. checked, editable, etc.
BuilderImpl & states (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::States>> elem)
A table of states of this object, e.g. checked, editable, etc.
bool has_attributes ()
void clear_attributes ()
Clears the 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::Attributes & attributes ()
A table of attributes of this node.
BuilderImpl & attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_accessibility_semantics::wire::Attributes>> elem)
A table of attributes of this node.
bool has_actions ()
void clear_actions ()
Clears the actions field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_accessibility_semantics::wire::Action> & actions ()
A list of actions that can be performed on this node.
BuilderImpl & actions (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_accessibility_semantics::wire::Action>>> elem)
A list of actions that can be performed on this node.
bool has_child_ids ()
void clear_child_ids ()
Clears the child_ids field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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.
BuilderImpl & child_ids (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint32_t>>> elem)
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_location ()
void clear_location ()
Clears the location field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_ui_gfx::wire::BoundingBox & location ()
Local bounding box of this element.
BuilderImpl & location (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_gfx::wire::BoundingBox>> elem)
Local bounding box of this element.
bool has_transform ()
void clear_transform ()
Clears the transform field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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.
BuilderImpl & transform (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_gfx::wire::Mat4>> elem)
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_container_id ()
void clear_container_id ()
Clears the container_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & container_id (uint32_t elem)
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_node_to_container_transform ()
void clear_node_to_container_transform ()
Clears the node_to_container_transform field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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.
BuilderImpl & node_to_container_transform (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_gfx::wire::Mat4>> elem)
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.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_accessibility_semantics::wire::Node, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility_semantics::wire::Node>> && frame)