class UseDictionary

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

Public Methods

void UseDictionary (Storage_ storage)
void UseDictionary ()

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

void UseDictionary (UseDictionary && )

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

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

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

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

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

itself.

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

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

itself.

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

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

itself.

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.

UseDictionary & 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 /.

UseDictionary & 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_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.

UseDictionary & 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.

UseDictionary & 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.

UseDictionary & 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 UseDictionary (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits