class UseDictionary
Defined at line 16362 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::UseDictionary> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::UseDictionary> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseDictionary>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseDictionary>> && frame_ptr)
void UseDictionary ()
Defined at line 16364 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseDictionary (const UseDictionary & other)
Defined at line 16365 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseDictionary (UseDictionary && other)
Defined at line 16367 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fuchsia_component_decl::wire::Ref & source ()
(Required) The provider of the dictionary relative to the component
itself.
bool has_source ()
::fidl::StringView & source_name ()
(Required) Name identifying the directory, by which it was presented to
this component.
bool has_source_name ()
::fidl::StringView & target_path ()
(Required) The path where the capability should be installed in the
component's namespace.
Must be an absolute path starting with /.
bool has_target_path ()
::fuchsia_component_decl::wire::DependencyType & dependency_type ()
(Required) The dependency type this use represents.
A component which offers a capability to a child from itself and uses a
capability from the same child, must mark the dependency as `weak`. A
`weak` dependency implies that the capability may become unavailable at
any point. Taking a strong dependency on a child's capability will
cause this the child to shut down before its parent. When using a weak
dependency, the parent shuts down before the child.
bool has_dependency_type ()
::fuchsia_component_decl::wire::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
bool has_availability ()
::fidl::StringView & source_dictionary ()
(Optional) Path in a dictionary provided by `source` which contains
`source_name`. If this field is absent, `source_name` identifies a
capability directly routed by `source`. If set, `source_name` identifies
a capability nested inside this dictionary.
bool has_source_dictionary ()
UseDictionary & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
UseDictionary & set_source (std::nullptr_t )
UseDictionary & clear_source ()
UseDictionary & operator= (const UseDictionary & other)
Defined at line 16366 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseDictionary & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
UseDictionary & set_source_name (std::nullptr_t )
UseDictionary & clear_source_name ()
UseDictionary & set_target_path (::fidl::ObjectView< ::fidl::StringView> elem)
UseDictionary & set_target_path (std::nullptr_t )
UseDictionary & clear_target_path ()
UseDictionary & set_dependency_type (::fuchsia_component_decl::wire::DependencyType elem)
UseDictionary & clear_dependency_type ()
UseDictionary & set_availability (::fuchsia_component_decl::wire::Availability elem)
UseDictionary & clear_availability ()
UseDictionary & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
UseDictionary & set_source_dictionary (std::nullptr_t )
UseDictionary & clear_source_dictionary ()
void UseDictionary (::fidl::AnyArena & allocator)
void UseDictionary (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseDictionary>> && 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.
UseDictionary & operator= (UseDictionary && other)
Defined at line 16368 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ~UseDictionary ()
Defined at line 16370 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