class Directory
Defined at line 1748 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares a directory capability backed by this component.
To learn more about directories, see:
https://fuchsia.dev/fuchsia-src/glossary#directory
Public Methods
void Directory ()
Defined at line 1750 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Directory (const Directory & other)
Defined at line 1751 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool has_source_path ()
Directory & operator= (const Directory & other)
Defined at line 1752 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Directory (Directory && other)
Defined at line 1753 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/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_decl::wire::Directory> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Directory> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Directory>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & name ()
(Required) The name of this directory.
bool has_name ()
Directory & operator= (Directory && other)
Defined at line 1754 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fidl::StringView & source_path ()
(Optional) The path to the directory in the component's outgoing
directory.
Not set for built-in capabilities.
::fuchsia_io::wire::Operations & rights ()
(Required) The maximum rights that can be set by a component using this
directory.
bool has_rights ()
Directory & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_name (std::nullptr_t )
Directory & clear_name ()
Directory & set_source_path (::fidl::ObjectView< ::fidl::StringView> elem)
Directory & set_source_path (std::nullptr_t )
Directory & clear_source_path ()
Directory & set_rights (::fidl::ObjectView< ::fuchsia_io::wire::Operations> elem)
Directory & set_rights (std::nullptr_t )
Directory & clear_rights ()
void Directory (::fidl::AnyArena & allocator)
void Directory (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::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_decl::wire::Directory>> && frame_ptr)
void ~Directory ()
Defined at line 1756 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder