class UseDirectory

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

Declares a directory used by a component, which was offered to it.

Public Methods

void UseDirectory (Storage_ storage)
void UseDirectory ()

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

void UseDirectory (UseDirectory && )

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

void UseDirectory (const UseDirectory & other)
UseDirectory & operator= (UseDirectory && )

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

UseDirectory & operator= (const UseDirectory & other)
bool operator== (const UseDirectory & other)
bool operator!= (const UseDirectory & other)
bool IsEmpty ()
const std::optional< ::fuchsia_component_decl::Ref> & source ()

(Required) The provider of the directory relative to the component

itself. Must be `parent`, `framework`, or `child`.

::std::optional< ::fuchsia_component_decl::Ref> & source ()

(Required) The provider of the directory relative to the component

itself. Must be `parent`, `framework`, or `child`.

UseDirectory & source (std::optional< ::fuchsia_component_decl::Ref> value)

(Required) The provider of the directory relative to the component

itself. Must be `parent`, `framework`, or `child`.

const std::optional< ::std::string> & source_name ()

(Required) Name identifying the directory, by which it was presented to

this component.

::std::optional< ::std::string> & source_name ()

(Required) Name identifying the directory, by which it was presented to

this component.

UseDirectory & source_name (std::optional< ::std::string> value)

(Required) Name identifying the directory, by which it was presented to

this component.

const std::optional< ::std::string> & target_path ()

(Required) The path where the capability should be installed in the

component's namespace.

Must be an absolute path starting with /.

::std::optional< ::std::string> & target_path ()

(Required) The path where the capability should be installed in the

component's namespace.

Must be an absolute path starting with /.

UseDirectory & target_path (std::optional< ::std::string> value)

(Required) The path where the capability should be installed in the

component's namespace.

Must be an absolute path starting with /.

const std::optional< ::fuchsia_io::Operations> & rights ()

(Required) The rights required by the component to use this directory.

::std::optional< ::fuchsia_io::Operations> & rights ()

(Required) The rights required by the component to use this directory.

UseDirectory & rights (std::optional< ::fuchsia_io::Operations> value)

(Required) The rights required by the component to use this directory.

const std::optional< ::std::string> & subdir ()

(Optional) The subdirectory of this directory to use instead of the

root.

::std::optional< ::std::string> & subdir ()

(Optional) The subdirectory of this directory to use instead of the

root.

UseDirectory & subdir (std::optional< ::std::string> value)

(Optional) The subdirectory of this directory to use instead of the

root.

const std::optional< ::fuchsia_component_decl::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.

::std::optional< ::fuchsia_component_decl::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.

UseDirectory & dependency_type (std::optional< ::fuchsia_component_decl::DependencyType> value)

(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.

const std::optional< ::fuchsia_component_decl::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.

::std::optional< ::fuchsia_component_decl::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.

UseDirectory & availability (std::optional< ::fuchsia_component_decl::Availability> value)

(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.

const std::optional< ::std::string> & 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.

::std::optional< ::std::string> & 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.

UseDirectory & source_dictionary (std::optional< ::std::string> value)

(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.

void UseDirectory (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits