class StringSelector
Defined at line 3010 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
StringSelector is an union defining different ways to describe a pattern to match
strings against.
Public Methods
void StringSelector ()
void StringSelector (const StringSelector & )
Defined at line 3015 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
StringSelector & operator= (const StringSelector & )
Defined at line 3016 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
void StringSelector (StringSelector && )
Defined at line 3017 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
StringSelector & operator= (StringSelector && )
Defined at line 3018 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
bool IsUnknown ()
Defined at line 3025 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
bool has_invalid_tag ()
bool is_string_pattern ()
StringSelector WithStringPattern (::fidl::ObjectView< ::fidl::StringView> val)
This is a provided string that defines a pattern to
match against. The parser treats asterisks (*), colons (:) and backslashes
(
\
) as special characters.
If you wish to match against literal asterisks (*), they must be escaped.
If you wish to match against literal backslashes (
\
), they must be escaped.
If you wish to match against literal colons (:), they must be escaped.
eg: abc will match any string with the exact name "abc".
eg: a
\
* will match any string with the exact name "a*".
eg: a
\
* will match any that starts with exactly "a\".
eg: a* will match any string that starts with "a".
eg: a*b will match any string that starts with a and ends with b.
eg: a*b*c will match any string that starts with a and ends with c, with `b`
in the middle.
In addition, the "**" literal is treated as a special sequence that may match
multiple levels in a component selector only. See |ComponentSelector| for
details.
template <typename... Args>
StringSelector WithStringPattern (::fidl::AnyArena & allocator, Args &&... args)
This is a provided string that defines a pattern to
match against. The parser treats asterisks (*), colons (:) and backslashes
(
\
) as special characters.
If you wish to match against literal asterisks (*), they must be escaped.
If you wish to match against literal backslashes (
\
), they must be escaped.
If you wish to match against literal colons (:), they must be escaped.
eg: abc will match any string with the exact name "abc".
eg: a
\
* will match any string with the exact name "a*".
eg: a
\
* will match any that starts with exactly "a\".
eg: a* will match any string that starts with "a".
eg: a*b will match any string that starts with a and ends with b.
eg: a*b*c will match any string that starts with a and ends with c, with `b`
in the middle.
In addition, the "**" literal is treated as a special sequence that may match
multiple levels in a component selector only. See |ComponentSelector| for
details.
Defined at line 3074 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
::fidl::StringView & string_pattern ()
This is a provided string that defines a pattern to
match against. The parser treats asterisks (*), colons (:) and backslashes
(
\
) as special characters.
If you wish to match against literal asterisks (*), they must be escaped.
If you wish to match against literal backslashes (
\
), they must be escaped.
If you wish to match against literal colons (:), they must be escaped.
eg: abc will match any string with the exact name "abc".
eg: a
\
* will match any string with the exact name "a*".
eg: a
\
* will match any that starts with exactly "a\".
eg: a* will match any string that starts with "a".
eg: a*b will match any string that starts with a and ends with b.
eg: a*b*c will match any string that starts with a and ends with c, with `b`
in the middle.
In addition, the "**" literal is treated as a special sequence that may match
multiple levels in a component selector only. See |ComponentSelector| for
details.
const ::fidl::StringView & string_pattern ()
This is a provided string that defines a pattern to
match against. The parser treats asterisks (*), colons (:) and backslashes
(
\
) as special characters.
If you wish to match against literal asterisks (*), they must be escaped.
If you wish to match against literal backslashes (
\
), they must be escaped.
If you wish to match against literal colons (:), they must be escaped.
eg: abc will match any string with the exact name "abc".
eg: a
\
* will match any string with the exact name "a*".
eg: a
\
* will match any that starts with exactly "a\".
eg: a* will match any string that starts with "a".
eg: a*b will match any string that starts with a and ends with b.
eg: a*b*c will match any string that starts with a and ends with c, with `b`
in the middle.
In addition, the "**" literal is treated as a special sequence that may match
multiple levels in a component selector only. See |ComponentSelector| for
details.
bool is_exact_match ()
StringSelector WithExactMatch (::fidl::ObjectView< ::fidl::StringView> val)
template <typename... Args>
StringSelector WithExactMatch (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 3126 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
::fidl::StringView & exact_match ()
const ::fidl::StringView & exact_match ()
::fuchsia_diagnostics::wire::StringSelector::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kStringPattern | 1 |
| kExactMatch | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 3020 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h