class ComponentSelector

Defined at line 1407 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_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 (Storage_ storage)
void ComponentSelector ()

Defined at line 1412 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

void ComponentSelector (ComponentSelector && )

Defined at line 1413 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

void ComponentSelector (const ComponentSelector & other)
ComponentSelector & operator= (ComponentSelector && )

Defined at line 1414 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

ComponentSelector & operator= (const ComponentSelector & other)
bool operator== (const ComponentSelector & other)
bool operator!= (const ComponentSelector & other)
bool IsEmpty ()
const std::optional< ::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.

::std::optional< ::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.

ComponentSelector & moniker_segments (std::optional< ::std::vector< ::fuchsia_diagnostics::StringSelector>> value)

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.

void ComponentSelector (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits