class NamespaceEntry
Defined at line 391 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.
void NamespaceEntry ()
Defined at line 393 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void NamespaceEntry (const NamespaceEntry & other)
Defined at line 394 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void _CloseHandles ()
::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.
bool has_path ()
::fidl::ClientEnd< ::fuchsia_io::Directory> & directory ()
The directory mounted at the above `path`.
bool has_directory ()
NamespaceEntry & operator= (const NamespaceEntry & other)
Defined at line 395 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 396 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 397 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".
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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::NamespaceEntry>> && frame_ptr)
void ~NamespaceEntry ()
Defined at line 399 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder