class OfferDirectory

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

Declares a directory 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

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::OfferDirectory> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::OfferDirectory> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::OfferDirectory>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::OfferDirectory>> && frame_ptr)
void OfferDirectory ()

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

void OfferDirectory (const OfferDirectory & other)

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

OfferDirectory & operator= (const OfferDirectory & other)

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

void OfferDirectory (OfferDirectory && other)

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

OfferDirectory & operator= (OfferDirectory && other)

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

::fuchsia_component_decl::wire::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.

bool has_source ()
::fidl::StringView & source_name ()

(Required) Name identifying the directory being offered.

bool has_source_name ()
::fuchsia_component_decl::wire::Ref & target ()

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

a dictionary `capability`.

bool has_target ()
::fidl::StringView & target_name ()

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

bool has_target_name ()
::fuchsia_io::wire::Operations & rights ()

(Optional) The maximum rights that can be set by a component using this

directory. IF unset, the rights are inherited from `source`.

bool has_rights ()
::fidl::StringView & subdir ()

(Optional) The subdirectory of this directory to offer instead of the

root. Optional.

bool has_subdir ()
::fuchsia_component_decl::wire::DependencyType & dependency_type ()

(Required) The dependency type this offer represents. A component which

receives a weak offer must support the offered capability being

unavailable at any point.

bool has_dependency_type ()
::fuchsia_component_decl::wire::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.

bool has_availability ()
::fidl::StringView & 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.

bool has_source_dictionary ()
OfferDirectory & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
OfferDirectory & set_source (std::nullptr_t )
OfferDirectory & clear_source ()
OfferDirectory & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
OfferDirectory & set_source_name (std::nullptr_t )
OfferDirectory & clear_source_name ()
OfferDirectory & set_target (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
OfferDirectory & set_target (std::nullptr_t )
OfferDirectory & clear_target ()
OfferDirectory & set_target_name (::fidl::ObjectView< ::fidl::StringView> elem)
OfferDirectory & set_target_name (std::nullptr_t )
OfferDirectory & clear_target_name ()
OfferDirectory & set_rights (::fidl::ObjectView< ::fuchsia_io::wire::Operations> elem)
OfferDirectory & set_rights (std::nullptr_t )
OfferDirectory & clear_rights ()
OfferDirectory & set_subdir (::fidl::ObjectView< ::fidl::StringView> elem)
OfferDirectory & set_subdir (std::nullptr_t )
OfferDirectory & clear_subdir ()
OfferDirectory & set_dependency_type (::fuchsia_component_decl::wire::DependencyType elem)
OfferDirectory & clear_dependency_type ()
OfferDirectory & set_availability (::fuchsia_component_decl::wire::Availability elem)
OfferDirectory & clear_availability ()
OfferDirectory & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
OfferDirectory & set_source_dictionary (std::nullptr_t )
OfferDirectory & clear_source_dictionary ()
void OfferDirectory (::fidl::AnyArena & allocator)
void OfferDirectory (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::OfferDirectory>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void ~OfferDirectory ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder