class ComponentSelector

Defined at line 2206 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::vector< ::fuchsia::diagnostics::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.

Defined at line 2219 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.h

bool has_moniker_segments ()

Defined at line 2223 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.h

::std::vector< ::fuchsia::diagnostics::StringSelector> * mutable_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.

Defined at line 2234 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.h

void clear_moniker_segments ()

Defined at line 2242 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.h

ComponentSelector & set_moniker_segments (::std::vector< ::fuchsia::diagnostics::StringSelector> _value)
void ComponentSelector ()
void ComponentSelector (ComponentSelector && other)
void ~ComponentSelector ()
ComponentSelector & operator= (ComponentSelector && other)
::std::unique_ptr<ComponentSelector> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ComponentSelector * _value, size_t _offset)
zx_status_t Clone (ComponentSelector * _result)