template <>

class WireTableBuilder

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

Public Methods

template <typename First = ::fuchsia_component_decl::wire::Ref, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_component_decl::wire::Ref>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & source (First && first, Args &&... args_)

(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.

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

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & source_name (First && first, Args &&... args_)

(Required) Name identifying the service being offered.

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

template <typename First = ::fuchsia_component_decl::wire::Ref, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_component_decl::wire::Ref>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & target (First && first, Args &&... args_)

(Required) Reference to the target. Must be `child`, `collection`, or

a dictionary `capability`.

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

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & target_name (First && first, Args &&... args_)

(Required) The name under which the capability is being offered.

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

template <typename First = ::fidl::VectorView<::fidl::StringView>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fidl::StringView>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & source_instance_filter (First && first, Args &&... args_)

(Optional) The list of allowlisted instances to be offered. Instances

of the service not in this list will not be accessible by the target

component. If this is not set that means all instances from the source

service are offered.

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

template <typename First = ::fidl::VectorView<::fuchsia_component_decl::wire::NameMapping>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_component_decl::wire::NameMapping>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & renamed_instances (First && first, Args &&... args_)

(Optional) The list of allowlisted instances to be offered, with

renames.

If this is set and nonempty, the set of instances in the target service

will be restricted to the instances in this list, renaming `source_name`

to `target_name`.

If it is set and nonempty, `source_instance_filter` will further

restrict the set of instances to those whose `target_name` appears in

that list. There is generally no reason to set both, but we support it

for compatibility.

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

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferService> & source_dictionary (First && first, Args &&... args_)

(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.

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

Friends

template <>
class OfferService