class OfferConfiguration
Defined at line 6587 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Declares a configuration capability offered by a component to one of its children,
which may have been offered by the component's containing realm, the
component itself, or one of its other children.
Public Methods
void OfferConfiguration (Storage_ storage)
void OfferConfiguration ()
Defined at line 6592 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void OfferConfiguration (OfferConfiguration && )
Defined at line 6593 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void OfferConfiguration (const OfferConfiguration & other)
OfferConfiguration & operator= (OfferConfiguration && )
Defined at line 6594 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
OfferConfiguration & operator= (const OfferConfiguration & other)
bool operator== (const OfferConfiguration & other)
bool operator!= (const OfferConfiguration & other)
bool IsEmpty ()
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.
OfferConfiguration & 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< ::std::string> & source_name ()
(Required) Name identifying the configuration being offered.
::std::optional< ::std::string> & source_name ()
(Required) Name identifying the configuration being offered.
OfferConfiguration & source_name (std::optional< ::std::string> value)
(Required) Name identifying the configuration being offered.
const std::optional< ::fuchsia_component_decl::Ref> & target ()
(Required) Reference to the target. Must be `child`, or `collection`.
::std::optional< ::fuchsia_component_decl::Ref> & target ()
(Required) Reference to the target. Must be `child`, or `collection`.
OfferConfiguration & target (std::optional< ::fuchsia_component_decl::Ref> value)
(Required) Reference to the target. Must be `child`, or `collection`.
const std::optional< ::std::string> & target_name ()
(Required) The name by which the capability is being offered.
::std::optional< ::std::string> & target_name ()
(Required) The name by which the capability is being offered.
OfferConfiguration & target_name (std::optional< ::std::string> value)
(Required) The name by which the capability is being offered.
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.
OfferConfiguration & 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.
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.
OfferConfiguration & 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 OfferConfiguration (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits