class Directory

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

A directory capability.

Public Methods

void Directory (Storage_ storage)
void Directory ()

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

void Directory (Directory && )

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

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

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

Directory & operator= (const Directory & other)
bool operator== (const Directory & other)
bool operator!= (const Directory & other)
bool IsEmpty ()
const std::optional< ::std::string> & name ()

The name of the capability. This is not the path of the directory.

Instead it is a name used for routing.

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

The name of the capability. This is not the path of the directory.

Instead it is a name used for routing.

Directory & name (std::optional< ::std::string> value)

The name of the capability. This is not the path of the directory.

Instead it is a name used for routing.

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

A rename of the capability, which can be set when routing to another

component. This field is optional.

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

A rename of the capability, which can be set when routing to another

component. This field is optional.

Directory & as (std::optional< ::std::string> value)

A rename of the capability, which can be set when routing to another

component. This field is optional.

const std::optional< ::fuchsia_component_decl::DependencyType> & type ()

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

::std::optional< ::fuchsia_component_decl::DependencyType> & type ()

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

Directory & type (std::optional< ::fuchsia_component_decl::DependencyType> value)

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

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

The subdirectory of this directory to offer instead of the root. For

example, if you set `bar/baz` as the subdir of `foo`, then `bar/baz`

will be the root of the target's `foo`. This field is optional.

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

The subdirectory of this directory to offer instead of the root. For

example, if you set `bar/baz` as the subdir of `foo`, then `bar/baz`

will be the root of the target's `foo`. This field is optional.

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

The subdirectory of this directory to offer instead of the root. For

example, if you set `bar/baz` as the subdir of `foo`, then `bar/baz`

will be the root of the target's `foo`. This field is optional.

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

The maximum rights that can be set by a component using this directory.

This field is required if it is being routed to a local component,

otherwise, it is optional.

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

The maximum rights that can be set by a component using this directory.

This field is required if it is being routed to a local component,

otherwise, it is optional.

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

The maximum rights that can be set by a component using this directory.

This field is required if it is being routed to a local component,

otherwise, it is optional.

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

The path in which to install the directory. The path should have a

leading slash but no trailing slash, e.g. `/config/data`. This field

is required.

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

The path in which to install the directory. The path should have a

leading slash but no trailing slash, e.g. `/config/data`. This field

is required.

Directory & path (std::optional< ::std::string> value)

The path in which to install the directory. The path should have a

leading slash but no trailing slash, e.g. `/config/data`. This field

is required.

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

Optional. Cannot be set to `SameAsTarget` if `to` contains a local

component.

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

Optional. Cannot be set to `SameAsTarget` if `to` contains a local

component.

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

Optional. Cannot be set to `SameAsTarget` if `to` contains a local

component.

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

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

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

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

Directory & from_dictionary (std::optional< ::std::string> value)

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

void Directory (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits