class ComponentNamespaceEntry
Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
A single component namespace entry, which describes a namespace mount point
(`path`) and the directory backing it (`directory`). This type is usually
composed inside a vector. See `ComponentStartInfo.ns` for more details.
Public Methods
::fidl::WireTableBuilder< ::fuchsia_component_runner::wire::ComponentNamespaceEntry> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
void ComponentNamespaceEntry ()
Defined at line 115 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
void ComponentNamespaceEntry (const ComponentNamespaceEntry & other)
Defined at line 116 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
void ComponentNamespaceEntry (ComponentNamespaceEntry && other)
Defined at line 118 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void _CloseHandles ()
::fidl::WireTableExternalBuilder< ::fuchsia_component_runner::wire::ComponentNamespaceEntry> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_runner::wire::ComponentNamespaceEntry>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & path ()
The mount point for the directory, including a
leading slash. For example: "/pkg", "/svc", or "/config/data".
bool has_path ()
::fidl::ClientEnd< ::fuchsia_io::Directory> & directory ()
The directory mounted at the above `path`.
bool has_directory ()
ComponentNamespaceEntry & operator= (const ComponentNamespaceEntry & other)
Defined at line 117 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
ComponentNamespaceEntry & operator= (ComponentNamespaceEntry && other)
Defined at line 119 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
ComponentNamespaceEntry & set_path (::fidl::ObjectView< ::fidl::StringView> elem)
ComponentNamespaceEntry & set_path (std::nullptr_t )
ComponentNamespaceEntry & clear_path ()
ComponentNamespaceEntry & set_directory (::fidl::ClientEnd< ::fuchsia_io::Directory> elem)
ComponentNamespaceEntry & clear_directory ()
void ComponentNamespaceEntry (::fidl::AnyArena & allocator)
void ComponentNamespaceEntry (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_runner::wire::ComponentNamespaceEntry>> && 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_runner::wire::ComponentNamespaceEntry>> && frame_ptr)
void ~ComponentNamespaceEntry ()
Defined at line 121 of file fidling/gen/sdk/fidl/fuchsia.component.runner/fuchsia.component.runner/cpp/fidl/fuchsia.component.runner/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder