class UseStorage

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

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

Public Methods

void UseStorage (Storage_ storage)
void UseStorage ()

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

void UseStorage (UseStorage && )

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

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

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

UseStorage & operator= (const UseStorage & other)
bool operator== (const UseStorage & other)
bool operator!= (const UseStorage & other)
bool IsEmpty ()
const std::optional< ::std::string> & source_name ()

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

this component.

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

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

this component.

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

(Required) Name identifying the storage, 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 /.

UseStorage & 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::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.

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

void UseStorage (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits