class OfferStorage
Defined at line 4696 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Declares a storage capability offered by a component to one of its children,
such as meta storage offered by the component's containing realm or cache
storage offered by the component itself.
Public Methods
void OfferStorage (Storage_ storage)
void OfferStorage ()
Defined at line 4701 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void OfferStorage (OfferStorage && )
Defined at line 4702 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void OfferStorage (const OfferStorage & other)
OfferStorage & operator= (OfferStorage && )
Defined at line 4703 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
OfferStorage & operator= (const OfferStorage & other)
bool operator== (const OfferStorage & other)
bool operator!= (const OfferStorage & other)
bool IsEmpty ()
const std::optional< ::std::string> & source_name ()
(Required) The name of the storage capability being offered
::std::optional< ::std::string> & source_name ()
(Required) The name of the storage capability being offered
OfferStorage & source_name (std::optional< ::std::string> value)
(Required) The name of the storage capability being offered
const std::optional< ::fuchsia_component_decl::Ref> & source ()
(Required) The provider of the capability relative to the component
itself. Must be `parent`, `self`, `child`, or `void`.
If set to `void`, then the target must offer or use the capability with
`OPTIONAL` or `TRANSITIONAL` availability.
::std::optional< ::fuchsia_component_decl::Ref> & source ()
(Required) The provider of the capability relative to the component
itself. Must be `parent`, `self`, `child`, or `void`.
If set to `void`, then the target must offer or use the capability with
`OPTIONAL` or `TRANSITIONAL` availability.
OfferStorage & source (std::optional< ::fuchsia_component_decl::Ref> value)
(Required) The provider of the capability relative to the component
itself. Must be `parent`, `self`, `child`, or `void`.
If set to `void`, then the target must offer or use the capability with
`OPTIONAL` or `TRANSITIONAL` availability.
const std::optional< ::fuchsia_component_decl::Ref> & target ()
(Required) Reference to the target. Must be `child`, `collection`, or
a dictionary `capability`.
::std::optional< ::fuchsia_component_decl::Ref> & target ()
(Required) Reference to the target. Must be `child`, `collection`, or
a dictionary `capability`.
OfferStorage & target (std::optional< ::fuchsia_component_decl::Ref> value)
(Required) Reference to the target. Must be `child`, `collection`, or
a dictionary `capability`.
const std::optional< ::std::string> & target_name ()
(Required) The name the storage capability is being offered as
::std::optional< ::std::string> & target_name ()
(Required) The name the storage capability is being offered as
OfferStorage & target_name (std::optional< ::std::string> value)
(Required) The name the storage capability is being offered as
const std::optional< ::fuchsia_component_decl::Availability> & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the target may use or offer the capability with
either `required` or `optional` availability. If set to `optional`, the
target must use or offer the capability with `optional` availability.
The `same_as_target` value causes this offer's availability to match the
availability set in the target.
::std::optional< ::fuchsia_component_decl::Availability> & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the target may use or offer the capability with
either `required` or `optional` availability. If set to `optional`, the
target must use or offer the capability with `optional` availability.
The `same_as_target` value causes this offer's availability to match the
availability set in the target.
OfferStorage & availability (std::optional< ::fuchsia_component_decl::Availability> value)
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the target may use or offer the capability with
either `required` or `optional` availability. If set to `optional`, the
target must use or offer the capability with `optional` availability.
The `same_as_target` value causes this offer's availability to match the
availability set in the target.
void OfferStorage (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits