class SelectorArgument
Defined at line 2142 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h
Argument used for Archive selectors, can be either the pre-parsed
fidl struct or string representation.
Public Methods
void SelectorArgument (SelectorArgument && other)
SelectorArgument & operator= (SelectorArgument && other)
void SelectorArgument (const SelectorArgument & other)
SelectorArgument & operator= (const SelectorArgument & other)
bool operator== (const SelectorArgument & other)
bool operator!= (const SelectorArgument & other)
bool IsUnknown ()
::fuchsia_diagnostics::SelectorArgument::Tag Which ()
SelectorArgument WithStructuredSelector (::fuchsia_diagnostics::Selector val)
const ::fidl::internal::UnionMemberView<1, Storage_> structured_selector ()
::fidl::internal::UnionMemberView<1, Storage_> structured_selector ()
SelectorArgument & structured_selector (::fuchsia_diagnostics::Selector value)
A Selector defining a pattern-matcher which selects for components within a hierarchy
and properties in a data hierarchy namespaced by component.
SelectorArgument WithRawSelector (::std::string val)
const ::fidl::internal::UnionMemberView<2, Storage_> raw_selector ()
::fidl::internal::UnionMemberView<2, Storage_> raw_selector ()
SelectorArgument & raw_selector (::std::string value)
A raw string representing a [fuchsia.diagnostics/Selector].
The Selector defines a pattern-matcher which selects for components within a hierarchy
and properties in a data hierarchy namespaced by component.
NOTE: All StringSelectors parsed from the raw_selector will be interpreted in
string_pattern mode, giving significance to special characters.
See https://fuchsia.dev/fuchsia-src/reference/diagnostics/selectors for more information
void SelectorArgument (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kStructuredSelector | 1 |
| kRawSelector | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 2152 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits