class UseDirectory
Defined at line 14404 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares a directory used by a component, which was offered to it.
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::UseDirectory> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::UseDirectory> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseDirectory>> 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::UseDirectory>> && frame_ptr)
void UseDirectory ()
Defined at line 14406 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseDirectory (const UseDirectory & other)
Defined at line 14407 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseDirectory (UseDirectory && other)
Defined at line 14409 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseDirectory & operator= (UseDirectory && other)
Defined at line 14410 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 directory relative to the component
itself. Must be `parent`, `framework`, or `child`.
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_io::wire::Operations & rights ()
(Required) The rights required by the component to use this directory.
bool has_rights ()
::fidl::StringView & subdir ()
(Optional) The subdirectory of this directory to use instead of the
root.
bool has_subdir ()
::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 ()
UseDirectory & operator= (const UseDirectory & other)
Defined at line 14408 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseDirectory & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
UseDirectory & set_source (std::nullptr_t )
UseDirectory & clear_source ()
UseDirectory & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
UseDirectory & set_source_name (std::nullptr_t )
UseDirectory & clear_source_name ()
UseDirectory & set_target_path (::fidl::ObjectView< ::fidl::StringView> elem)
UseDirectory & set_target_path (std::nullptr_t )
UseDirectory & clear_target_path ()
UseDirectory & set_rights (::fidl::ObjectView< ::fuchsia_io::wire::Operations> elem)
UseDirectory & set_rights (std::nullptr_t )
UseDirectory & clear_rights ()
UseDirectory & set_subdir (::fidl::ObjectView< ::fidl::StringView> elem)
UseDirectory & set_subdir (std::nullptr_t )
UseDirectory & clear_subdir ()
UseDirectory & set_dependency_type (::fuchsia_component_decl::wire::DependencyType elem)
UseDirectory & clear_dependency_type ()
UseDirectory & set_availability (::fuchsia_component_decl::wire::Availability elem)
UseDirectory & clear_availability ()
UseDirectory & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
UseDirectory & set_source_dictionary (std::nullptr_t )
UseDirectory & clear_source_dictionary ()
void UseDirectory (::fidl::AnyArena & allocator)
void UseDirectory (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseDirectory>> && 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 ~UseDirectory ()
Defined at line 14412 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