class Dictionary

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

Declares 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 ()

(Required) The name of this dictionary.

Must be unique among built-in capabilities.

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

bool has_name ()

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

::std::string * mutable_name ()

(Required) The name of this dictionary.

Must be unique among built-in capabilities.

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

void clear_name ()

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

bool has_source ()

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

::fuchsia::component::decl::Ref * mutable_source ()

(Optional) Source of the contents used to initialize the dictionary.

Must be `parent`, `self`, or `child`.

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

void clear_source ()

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

bool has_source_dictionary ()

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

::std::string * mutable_source_dictionary ()

(Optional) Path in a dictionary provided by `ref` which contains the contents

that will be used to initialize the dictionary.

This must be set iff `source` is set.

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

void clear_source_dictionary ()

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

bool has_source_path ()

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

::std::string * mutable_source_path ()

(Optional) Path in the component's outgoing directory to a

[fuchsia.component.sandbox/DictionaryRouter] that returns a

[fuchsia.component.sandbox/DirectoryRef] for this dictionary.

If this is set, it means the dictionary is provided by the program directly, not component

manager. `source` and `source_dictionary` must be `null` if this is set.

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

void clear_source_path ()

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

Dictionary & set_name (::std::string _value)
Dictionary & set_source (::fuchsia::component::decl::Ref _value)
Dictionary & set_source_dictionary (::std::string _value)
Dictionary & set_source_path (::std::string _value)
void Dictionary ()
void Dictionary (Dictionary && other)
const ::fuchsia::component::decl::Ref & source ()

(Optional) Source of the contents used to initialize the dictionary.

Must be `parent`, `self`, or `child`.

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

const ::std::string & source_dictionary ()

(Optional) Path in a dictionary provided by `ref` which contains the contents

that will be used to initialize the dictionary.

This must be set iff `source` is set.

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

const ::std::string & source_path ()

(Optional) Path in the component's outgoing directory to a

[fuchsia.component.sandbox/DictionaryRouter] that returns a

[fuchsia.component.sandbox/DirectoryRef] for this dictionary.

If this is set, it means the dictionary is provided by the program directly, not component

manager. `source` and `source_dictionary` must be `null` if this is set.

Defined at line 8097 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/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)