class Dictionary
Defined at line 8077 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 8086 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 8090 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 8097 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 8105 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 8119 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 8125 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 8133 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 8149 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 8157 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 8165 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 8183 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 8193 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 8201 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 8115 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 8145 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 8179 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)