class Directory

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

A directory capability.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::string & name ()

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

Instead it is a name used for routing.

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

bool has_name ()

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

::std::string * mutable_name ()

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

Instead it is a name used for routing.

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

void clear_name ()

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

const ::std::string & as ()

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

component. This field is optional.

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

bool has_as ()

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

::std::string * mutable_as ()

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

component. This field is optional.

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

void clear_as ()

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

bool has_type ()

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

::fuchsia::component::decl::DependencyType * mutable_type ()

For information on this type, see

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

This field is optional and defaults to `STRONG`.

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

void clear_type ()

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

bool has_subdir ()

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

::std::string * mutable_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.

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

void clear_subdir ()

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

const ::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.

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

bool has_rights ()

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

::fuchsia::io::Operations * mutable_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.

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

void clear_rights ()

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

const ::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.

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

bool has_path ()

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

::std::string * mutable_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.

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

void clear_path ()

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

const ::fuchsia::component::decl::Availability & availability ()

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

component.

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

bool has_availability ()

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

::fuchsia::component::decl::Availability * mutable_availability ()

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

component.

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

void clear_availability ()

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

const ::std::string & from_dictionary ()

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

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

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

bool has_from_dictionary ()

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

::std::string * mutable_from_dictionary ()

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

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

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

void clear_from_dictionary ()

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

Directory & set_name (::std::string _value)
Directory & set_as (::std::string _value)
Directory & set_type (::fuchsia::component::decl::DependencyType _value)
Directory & set_subdir (::std::string _value)
Directory & set_rights (::fuchsia::io::Operations _value)
Directory & set_path (::std::string _value)
Directory & set_availability (::fuchsia::component::decl::Availability _value)
Directory & set_from_dictionary (::std::string _value)
void Directory ()
void Directory (Directory && other)
const ::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`.

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

const ::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.

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

void ~Directory ()
Directory & operator= (Directory && other)
::std::unique_ptr<Directory> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Directory * _value, size_t _offset)
zx_status_t Clone (Directory * _result)