class Directory

Defined at line 1247 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.

void Directory ()
void Directory (Directory && other)
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 1255 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 1259 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 1265 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 1273 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 1283 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 1287 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 1293 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 1301 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 1376 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 1383 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 1391 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 1402 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 1406 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 1413 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 1421 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 1431 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 1435 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 1441 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 1449 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_rights (::fuchsia::io::Operations _value)
Directory & set_path (::std::string _value)
Directory & set_availability (::fuchsia::component::decl::Availability _value)
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 1312 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 1316 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 1323 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 1331 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

Directory & set_type (::fuchsia::component::decl::DependencyType _value)
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 1342 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 1346 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 1353 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 1361 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 1372 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h

Directory & set_subdir (::std::string _value)
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)