class Dictionary

Defined at line 2607 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

A dictionary capability

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::string & name ()

The name of the dictionary.

Defined at line 2614 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

bool has_name ()

Defined at line 2618 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

::std::string * mutable_name ()

The name of the dictionary.

Defined at line 2623 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

void clear_name ()

Defined at line 2631 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

const ::std::string & as ()

A rename of the dictionary, which can be set when routing to another

component. This field is optional.

Defined at line 2641 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

bool has_as ()

Defined at line 2645 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

::std::string * mutable_as ()

A rename of the dictionary, which can be set when routing to another

component. This field is optional.

Defined at line 2651 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

void clear_as ()

Defined at line 2659 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

bool has_type ()

Defined at line 2674 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

::fuchsia::component::decl::DependencyType * mutable_type ()

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

Defined at line 2681 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

void clear_type ()

Defined at line 2689 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

const ::fuchsia::component::decl::Availability & availability ()

Optional. Cannot be set to `SameAsTarget` if `to` contains a local

component.

Defined at line 2699 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

bool has_availability ()

Defined at line 2703 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

::fuchsia::component::decl::Availability * mutable_availability ()

Optional. Cannot be set to `SameAsTarget` if `to` contains a local

component.

Defined at line 2709 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

void clear_availability ()

Defined at line 2717 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

const ::std::string & from_dictionary ()

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

Defined at line 2727 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

bool has_from_dictionary ()

Defined at line 2731 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

::std::string * mutable_from_dictionary ()

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

Defined at line 2737 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

void clear_from_dictionary ()

Defined at line 2745 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

const ::std::string & path ()

Optional. The path at which this dictionary is used (if the target is a

local component).

Defined at line 2755 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

bool has_path ()

Defined at line 2759 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

::std::string * mutable_path ()

Optional. The path at which this dictionary is used (if the target is a

local component).

Defined at line 2765 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

void clear_path ()

Defined at line 2773 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

Dictionary & set_name (::std::string _value)
Dictionary & set_as (::std::string _value)
Dictionary & set_type (::fuchsia::component::decl::DependencyType _value)
Dictionary & set_availability (::fuchsia::component::decl::Availability _value)
Dictionary & set_from_dictionary (::std::string _value)
Dictionary & set_path (::std::string _value)
void Dictionary ()
void Dictionary (Dictionary && other)
const ::fuchsia::component::decl::DependencyType & type ()

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

Defined at line 2670 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

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