class Directory
Defined at line 2572 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Declares a directory capability backed by this component.
To learn more about directories, see:
https://fuchsia.dev/fuchsia-src/glossary#directory
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
Directory & set_name (::std::string _value)
Directory & set_source_path (::std::string _value)
Directory & set_rights (::fuchsia::io::Operations _value)
void Directory ()
void Directory (Directory && other)
void ~Directory ()
Directory & operator= (Directory && other)
::std::unique_ptr<Directory> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Directory * _value, size_t _offset)
zx_status_t Clone (Directory * _result)
const ::std::string & name ()
(Required) The name of this directory.
Defined at line 2579 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_name ()
Defined at line 2583 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_name ()
(Required) The name of this directory.
Defined at line 2588 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_name ()
Defined at line 2596 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & source_path ()
(Optional) The path to the directory in the component's outgoing
directory.
Not set for built-in capabilities.
Defined at line 2608 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_source_path ()
Defined at line 2612 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_source_path ()
(Optional) The path to the directory in the component's outgoing
directory.
Not set for built-in capabilities.
Defined at line 2620 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source_path ()
Defined at line 2628 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::io::Operations & rights ()
(Required) The maximum rights that can be set by a component using this
directory.
Defined at line 2638 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_rights ()
Defined at line 2642 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::io::Operations * mutable_rights ()
(Required) The maximum rights that can be set by a component using this
directory.
Defined at line 2648 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_rights ()
Defined at line 2656 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h