class NamespaceEntry

Defined at line 805 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::string & path ()

The mount point for the directory, including a

leading slash. For example: "/pkg", "/svc", or "/config/data".

Defined at line 813 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

bool has_path ()

Defined at line 817 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

::std::string * mutable_path ()

The mount point for the directory, including a

leading slash. For example: "/pkg", "/svc", or "/config/data".

Defined at line 823 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

void clear_path ()

Defined at line 831 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

const ::fidl::InterfaceHandle< ::fuchsia::io::Directory> & directory ()

The directory mounted at the above `path`.

Defined at line 840 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

bool has_directory ()

Defined at line 844 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

::fidl::InterfaceHandle< ::fuchsia::io::Directory> * mutable_directory ()

The directory mounted at the above `path`.

Defined at line 849 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

void clear_directory ()

Defined at line 857 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

NamespaceEntry & set_path (::std::string _value)
NamespaceEntry & set_directory (::fidl::InterfaceHandle< ::fuchsia::io::Directory> _value)
void NamespaceEntry ()
void NamespaceEntry (NamespaceEntry && other)
void ~NamespaceEntry ()
NamespaceEntry & operator= (NamespaceEntry && other)
::std::unique_ptr<NamespaceEntry> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, NamespaceEntry * _value, size_t _offset)
zx_status_t Clone (NamespaceEntry * _result)