class Selector

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

Structured selector containing all required information for pattern-matching onto

string-named properties owned by nodes in a data hierarchy, where data hierarchies belong

to specific components.

These selectors are represented in text form as three segments, colon delimited,

specifying:

<component

_moniker>:

<node

_selector>:

<property

_selector>

Examples:

Property selection:

realm1/realm2/echo:root/active_users:user_count

Subtree selection:

realm1/realm2/echo:root/active_users

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

Selector & set_component_selector (::fuchsia::diagnostics::ComponentSelector _value)
Selector & set_tree_selector (::fuchsia::diagnostics::TreeSelector _value)
Selector & set_tree_names (::fuchsia::diagnostics::TreeNames _value)
void Selector ()
void Selector (Selector && other)
void ~Selector ()
Selector & operator= (Selector && other)
::std::unique_ptr<Selector> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Selector * _value, size_t _offset)
zx_status_t Clone (Selector * _result)
const ::fuchsia::diagnostics::ComponentSelector & component_selector ()

The selector defining a pattern of component monikers to match

against.

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

bool has_component_selector ()

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

::fuchsia::diagnostics::ComponentSelector * mutable_component_selector ()

The selector defining a pattern of component monikers to match

against.

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

void clear_component_selector ()

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

const ::fuchsia::diagnostics::TreeSelector & tree_selector ()

The selector defining data hierarchy properties to match against

within the data hierarchies owned by components matched by

`component_selector`.

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

bool has_tree_selector ()

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

::fuchsia::diagnostics::TreeSelector * mutable_tree_selector ()

The selector defining data hierarchy properties to match against

within the data hierarchies owned by components matched by

`component_selector`.

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

void clear_tree_selector ()

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

const ::fuchsia::diagnostics::TreeNames & tree_names ()

A set of fuchsia.inspect.Tree names to filter with before applying

hierarchy/property selectors.

Omitting a name-filter is equivalent to TreeNames::some(["root"]).

Note that "root" is the default tree name.

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

bool has_tree_names ()

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

::fuchsia::diagnostics::TreeNames * mutable_tree_names ()

A set of fuchsia.inspect.Tree names to filter with before applying

hierarchy/property selectors.

Omitting a name-filter is equivalent to TreeNames::some(["root"]).

Note that "root" is the default tree name.

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

void clear_tree_names ()

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