class NamespaceEntry
Defined at line 383 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/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
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component::wire::NamespaceEntry> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component::wire::NamespaceEntry> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::NamespaceEntry>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::NamespaceEntry>> && frame_ptr)
void NamespaceEntry ()
Defined at line 385 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void NamespaceEntry (NamespaceEntry && other)
Defined at line 388 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void _CloseHandles ()
NamespaceEntry & operator= (const NamespaceEntry & other)
Defined at line 387 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
NamespaceEntry & operator= (NamespaceEntry && other)
Defined at line 389 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
::fidl::StringView & path ()
The mount point for the directory, including a
leading slash. For example: "/pkg", "/svc", or "/config/data".
::fidl::ClientEnd< ::fuchsia_io::Directory> & directory ()
The directory mounted at the above `path`.
bool has_directory ()
NamespaceEntry & set_path (::fidl::ObjectView< ::fidl::StringView> elem)
NamespaceEntry & set_path (std::nullptr_t )
NamespaceEntry & clear_path ()
NamespaceEntry & set_directory (::fidl::ClientEnd< ::fuchsia_io::Directory> elem)
NamespaceEntry & clear_directory ()
void NamespaceEntry (::fidl::AnyArena & allocator)
void NamespaceEntry (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::NamespaceEntry>> && 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 NamespaceEntry (const NamespaceEntry & other)
Defined at line 386 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
bool has_path ()
void ~NamespaceEntry ()
Defined at line 391 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder