class ExposeDirectory

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

Declares a directory exposed to a component's containing realm, such as a

directory exposed by the component or one of its children at runtime.

Public Methods

void ExposeDirectory ()

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

void ExposeDirectory (const ExposeDirectory & other)

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

bool has_availability ()
ExposeDirectory & operator= (const ExposeDirectory & other)

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

void ExposeDirectory (ExposeDirectory && other)

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

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

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

Return a builder that by defaults allocates of an arena.

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

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

ExposeDirectory & operator= (ExposeDirectory && other)

Defined at line 5953 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 `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

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

(Required) Name identifying the directory, by which it was presented to

this component.

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

(Required) The destination to which the directory is exposed: either the

component's realm or the framework.

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

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

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 expose instead of the

root.

bool has_subdir ()
::fuchsia_component_decl::wire::Availability & availability ()

(Optional, defaults to `REQUIRED`) The availability of this capability.

See [`Availability`].

::fidl::StringView & source_dictionary ()

(Optional) Path in a dictionary offered by `ref` 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 a

dictionary. The name of the top-level dictionary is given by the first path

segment of `source_dictionary`, and `source` is expected to route a

dictionary capability with this name. The rest of the path (possibly empty)

represents the path to a dictionary nested in the top-level dictionary which

is expected to contain `source_name`.

bool has_source_dictionary ()
ExposeDirectory & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
ExposeDirectory & set_source (std::nullptr_t )
ExposeDirectory & clear_source ()
ExposeDirectory & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDirectory & set_source_name (std::nullptr_t )
ExposeDirectory & clear_source_name ()
ExposeDirectory & set_target (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
ExposeDirectory & set_target (std::nullptr_t )
ExposeDirectory & clear_target ()
ExposeDirectory & set_target_name (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDirectory & set_target_name (std::nullptr_t )
ExposeDirectory & clear_target_name ()
ExposeDirectory & set_rights (::fidl::ObjectView< ::fuchsia_io::wire::Operations> elem)
ExposeDirectory & set_rights (std::nullptr_t )
ExposeDirectory & clear_rights ()
ExposeDirectory & set_subdir (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDirectory & set_subdir (std::nullptr_t )
ExposeDirectory & clear_subdir ()
ExposeDirectory & set_availability (::fuchsia_component_decl::wire::Availability elem)
ExposeDirectory & clear_availability ()
ExposeDirectory & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDirectory & set_source_dictionary (std::nullptr_t )
ExposeDirectory & clear_source_dictionary ()
void ExposeDirectory (::fidl::AnyArena & allocator)
void ExposeDirectory (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ExposeDirectory>> && 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ExposeDirectory>> && frame_ptr)
void ~ExposeDirectory ()

Defined at line 5955 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