class Dictionary
Defined at line 9606 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares a dictionary capability.
Public Methods
void Dictionary ()
Defined at line 9608 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Dictionary (const Dictionary & other)
Defined at line 9609 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Dictionary (Dictionary && other)
Defined at line 9611 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::Dictionary> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Dictionary> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Dictionary>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & name ()
(Required) The name of this dictionary.
Must be unique among built-in capabilities.
bool has_name ()
::fuchsia_component_decl::wire::Ref & source ()
(Optional) Source of the contents used to initialize the dictionary.
Must be `parent`, `self`, or `child`.
bool has_source ()
::fidl::StringView & 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.
bool has_source_dictionary ()
::fidl::StringView & 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.
bool has_source_path ()
Dictionary & operator= (const Dictionary & other)
Defined at line 9610 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Dictionary & operator= (Dictionary && other)
Defined at line 9612 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Dictionary & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Dictionary & set_name (std::nullptr_t )
Dictionary & clear_name ()
Dictionary & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
Dictionary & set_source (std::nullptr_t )
Dictionary & clear_source ()
Dictionary & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
Dictionary & set_source_dictionary (std::nullptr_t )
Dictionary & clear_source_dictionary ()
Dictionary & set_source_path (::fidl::ObjectView< ::fidl::StringView> elem)
Dictionary & set_source_path (std::nullptr_t )
Dictionary & clear_source_path ()
void Dictionary (::fidl::AnyArena & allocator)
void Dictionary (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Dictionary>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Dictionary>> && frame_ptr)
void ~Dictionary ()
Defined at line 9614 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder