class Directory
Defined at line 771 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/wire_types.h
A directory capability.
Public Methods
void Directory ()
Defined at line 773 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/wire_types.h
void Directory (const Directory & other)
Defined at line 774 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/wire_types.h
void Directory (Directory && other)
Defined at line 776 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/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_test::wire::Directory> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_test::wire::Directory> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Directory>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & name ()
The name of the capability. This is not the path of the directory.
Instead it is a name used for routing.
bool has_name ()
::fidl::StringView & as ()
A rename of the capability, which can be set when routing to another
component. This field is optional.
bool has_as ()
::fuchsia_component_decl::wire::DependencyType & type ()
For information on this type, see
https://fuchsia.dev/go/components/declaration#DependencyType.
This field is optional and defaults to `STRONG`.
bool has_type ()
::fidl::StringView & 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.
bool has_subdir ()
::fuchsia_io::wire::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.
bool has_rights ()
::fidl::StringView & 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.
bool has_path ()
::fuchsia_component_decl::wire::Availability & availability ()
Optional. Cannot be set to `SameAsTarget` if `to` contains a local
component.
bool has_availability ()
::fidl::StringView & from_dictionary ()
Optional. If set, the path to the dictionary routed by `from` which contains
the capability. Superseded by [`Realm.AddRouteFromDictionary`].
bool has_from_dictionary ()
Directory & operator= (const Directory & other)
Defined at line 775 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/wire_types.h
Directory & operator= (Directory && other)
Defined at line 777 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/wire_types.h
Directory & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_name (std::nullptr_t )
Directory & clear_name ()
Directory & set_as (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_as (std::nullptr_t )
Directory & clear_as ()
Directory & set_type (::fuchsia_component_decl::wire::DependencyType elem)
Directory & clear_type ()
Directory & set_subdir (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_subdir (std::nullptr_t )
Directory & clear_subdir ()
Directory & set_rights (::fidl::ObjectView< ::fuchsia_io::wire::Operations> elem)
Directory & set_rights (std::nullptr_t )
Directory & clear_rights ()
Directory & set_path (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_path (std::nullptr_t )
Directory & clear_path ()
Directory & set_availability (::fuchsia_component_decl::wire::Availability elem)
Directory & clear_availability ()
Directory & set_from_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_from_dictionary (std::nullptr_t )
Directory & clear_from_dictionary ()
void Directory (::fidl::AnyArena & allocator)
void Directory (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Directory>> && 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_test::wire::Directory>> && frame_ptr)
void ~Directory ()
Defined at line 779 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder