class OfferResolver
Defined at line 6256 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Declares a resolver 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 OfferResolver (Storage_ storage)
void OfferResolver ()
Defined at line 6261 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void OfferResolver (OfferResolver && )
Defined at line 6262 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void OfferResolver (const OfferResolver & other)
OfferResolver & operator= (OfferResolver && )
Defined at line 6263 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
OfferResolver & operator= (const OfferResolver & other)
bool operator== (const OfferResolver & other)
bool operator!= (const OfferResolver & 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.
OfferResolver & 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 of the resolver being offered.
::std::optional< ::std::string> & source_name ()
(Required) Name of the resolver being offered.
OfferResolver & source_name (std::optional< ::std::string> value)
(Required) Name of the resolver being offered.
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`.
OfferResolver & 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) Name under which the capability is being offered.
::std::optional< ::std::string> & target_name ()
(Required) Name under which the capability is being offered.
OfferResolver & target_name (std::optional< ::std::string> value)
(Required) Name under which the capability is being offered.
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.
OfferResolver & 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 OfferResolver (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits