class SetTagCmd
Defined at line 446 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
Sets/clears a node's tag value.
A session can apply a tag value to any node to which it has access, including
imported nodes. These tags are private to the session and cannot be read
or modified by other sessions. When multiple sessions import the same node,
each session will only observe its own tag values.
Hit test results for a session only include nodes which the session has
tagged with a non-zero value. Therefore a session can use tag values to
associate nodes with their functional purpose when picked.
Constraints:
- `node_id` refs a `Node`.
- `tag_value` is the tag value to assign, or 0 to remove the tag.
Public Methods
void SetTagCmd (Storage_ storage)
void SetTagCmd (uint32_t node_id, uint32_t tag_value)
void SetTagCmd ()
Default constructs a |SetTagCmd| only if all of its members are default constructible.
Defined at line 456 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void SetTagCmd (SetTagCmd && )
Defined at line 459 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void SetTagCmd (const SetTagCmd & other)
SetTagCmd & operator= (SetTagCmd && )
Defined at line 460 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
SetTagCmd & operator= (const SetTagCmd & other)
bool operator== (const SetTagCmd & other)
bool operator!= (const SetTagCmd & other)
uint32_t node_id ()
uint32_t & node_id ()
SetTagCmd & node_id (uint32_t value)
Setter for node_id.
uint32_t tag_value ()
uint32_t & tag_value ()
SetTagCmd & tag_value (uint32_t value)
Setter for tag_value.
void SetTagCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits