class ComponentSelector
Defined at line 976 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
Specifies a pattern of component monikers which
identify components being selected for.
Component selectors support wildcarding, which will glob a single "level" of a
component moniker. eg:
core/*/echo
will match all echo instances running only in realms directly under core, but none
nested further.
Component selectors also support a recursive wildcard, which will glob multiple
"levels" of a component moniker. eg:
core/**
will match all component instances running under core/ and all descendants of it.
Note that the wildcard does not select core itself. Clients that wish to choose a
subtree including the root should pass two selectors, eg:
core
core/**
The recursive wildcard is only allowed as the final segment of the selector.
Public Methods
void ComponentSelector ()
Defined at line 978 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
void ComponentSelector (const ComponentSelector & other)
Defined at line 979 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
ComponentSelector & operator= (const ComponentSelector & other)
Defined at line 980 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
void ComponentSelector (ComponentSelector && other)
Defined at line 981 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_diagnostics::wire::ComponentSelector> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_diagnostics::wire::ComponentSelector> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::ComponentSelector>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::VectorView< ::fuchsia_diagnostics::wire::StringSelector> & moniker_segments ()
Vector encoding the a pattern for monikers of components being selected for.
These monikers are child-monikers relative to a "root" hierarchy that the archivist
is aware of.
There must be at least one StringSelector provided, which
specifies the component names that are matched by
the current selector.
bool has_moniker_segments ()
ComponentSelector & operator= (ComponentSelector && other)
Defined at line 982 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
ComponentSelector & set_moniker_segments (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_diagnostics::wire::StringSelector>> elem)
ComponentSelector & set_moniker_segments (std::nullptr_t )
ComponentSelector & clear_moniker_segments ()
void ComponentSelector (::fidl::AnyArena & allocator)
void ComponentSelector (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::ComponentSelector>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::ComponentSelector>> && frame_ptr)
void ~ComponentSelector ()
Defined at line 984 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder