class ExposeDirectory

Defined at line 3749 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_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 (Storage_ storage)
void ExposeDirectory ()

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

void ExposeDirectory (ExposeDirectory && )

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

void ExposeDirectory (const ExposeDirectory & other)
ExposeDirectory & operator= (ExposeDirectory && )

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

ExposeDirectory & operator= (const ExposeDirectory & other)
bool operator== (const ExposeDirectory & other)
bool operator!= (const ExposeDirectory & other)
bool IsEmpty ()
const std::optional< ::fuchsia_component_decl::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.

::std::optional< ::fuchsia_component_decl::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.

ExposeDirectory & source (std::optional< ::fuchsia_component_decl::Ref> value)

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

const std::optional< ::std::string> & source_name ()

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

this component.

::std::optional< ::std::string> & source_name ()

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

this component.

ExposeDirectory & source_name (std::optional< ::std::string> value)

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

this component.

const std::optional< ::fuchsia_component_decl::Ref> & target ()

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

component's realm or the framework.

::std::optional< ::fuchsia_component_decl::Ref> & target ()

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

component's realm or the framework.

ExposeDirectory & target (std::optional< ::fuchsia_component_decl::Ref> value)

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

component's realm or the framework.

const std::optional< ::std::string> & target_name ()

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

::std::optional< ::std::string> & target_name ()

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

ExposeDirectory & target_name (std::optional< ::std::string> value)

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

const std::optional< ::fuchsia_io::Operations> & rights ()

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

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

::std::optional< ::fuchsia_io::Operations> & rights ()

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

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

ExposeDirectory & rights (std::optional< ::fuchsia_io::Operations> value)

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

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

const std::optional< ::std::string> & subdir ()

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

root.

::std::optional< ::std::string> & subdir ()

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

root.

ExposeDirectory & subdir (std::optional< ::std::string> value)

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

root.

const std::optional< ::fuchsia_component_decl::Availability> & availability ()

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

See [`Availability`].

::std::optional< ::fuchsia_component_decl::Availability> & availability ()

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

See [`Availability`].

ExposeDirectory & availability (std::optional< ::fuchsia_component_decl::Availability> value)

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

See [`Availability`].

const std::optional< ::std::string> & 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`.

::std::optional< ::std::string> & 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`.

ExposeDirectory & source_dictionary (std::optional< ::std::string> value)

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

void ExposeDirectory (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits