class ExposeDirectory
Defined at line 5483 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Declares a directory exposed to a component's containing realm, such as a
directory exposed by the component or one of its children at runtime.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool has_source ()
Defined at line 5497 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::Ref * mutable_source ()
(Required) The provider of the capability relative to the component
itself. Must be `self` or `child`, or `void`. If set to `void`, then the
target must expose, offer, or use the capability with `OPTIONAL` or
`TRANSITIONAL` availability.
Defined at line 5505 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source ()
Defined at line 5513 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_source_name ()
Defined at line 5527 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_source_name ()
(Required) Name identifying the directory, by which it was presented to
this component.
Defined at line 5533 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source_name ()
Defined at line 5541 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_target ()
Defined at line 5555 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::Ref * mutable_target ()
(Required) The destination to which the directory is exposed: either the
component's realm or the framework.
Defined at line 5561 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_target ()
Defined at line 5569 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_target_name ()
Defined at line 5582 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_target_name ()
(Required) The name by which the capability is being exposed.
Defined at line 5587 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_target_name ()
Defined at line 5595 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::io::Operations & rights ()
(Optional) The maximum rights that can be set by a component using this
directory. If unset, the rights are inherited from `source`.
Defined at line 5605 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 5609 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::io::Operations * mutable_rights ()
(Optional) The maximum rights that can be set by a component using this
directory. If unset, the rights are inherited from `source`.
Defined at line 5615 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 5623 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_subdir ()
Defined at line 5637 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_subdir ()
(Optional) The subdirectory of this directory to expose instead of the
root.
Defined at line 5643 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_subdir ()
Defined at line 5651 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::component::decl::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
See [`Availability`].
Defined at line 5661 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_availability ()
Defined at line 5665 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::Availability * mutable_availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
See [`Availability`].
Defined at line 5671 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_availability ()
Defined at line 5679 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_source_dictionary ()
Defined at line 5699 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_source_dictionary ()
(Optional) Path in a dictionary offered by `ref` which contains `source_name`.
If this field is absent, `source_name` identifies a capability directly routed
by `source`. If set, `source_name` identifies a capability nested inside a
dictionary. The name of the top-level dictionary is given by the first path
segment of `source_dictionary`, and `source` is expected to route a
dictionary capability with this name. The rest of the path (possibly empty)
represents the path to a dictionary nested in the top-level dictionary which
is expected to contain `source_name`.
Defined at line 5711 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source_dictionary ()
Defined at line 5719 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
ExposeDirectory & set_source (::fuchsia::component::decl::Ref _value)
ExposeDirectory & set_source_name (::std::string _value)
ExposeDirectory & set_target (::fuchsia::component::decl::Ref _value)
ExposeDirectory & set_target_name (::std::string _value)
ExposeDirectory & set_rights (::fuchsia::io::Operations _value)
ExposeDirectory & set_subdir (::std::string _value)
ExposeDirectory & set_availability (::fuchsia::component::decl::Availability _value)
ExposeDirectory & set_source_dictionary (::std::string _value)
void ExposeDirectory ()
void ExposeDirectory (ExposeDirectory && other)
const ::fuchsia::component::decl::Ref & source ()
(Required) The provider of the capability relative to the component
itself. Must be `self` or `child`, or `void`. If set to `void`, then the
target must expose, offer, or use the capability with `OPTIONAL` or
`TRANSITIONAL` availability.
Defined at line 5493 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & source_name ()
(Required) Name identifying the directory, by which it was presented to
this component.
Defined at line 5523 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::component::decl::Ref & target ()
(Required) The destination to which the directory is exposed: either the
component's realm or the framework.
Defined at line 5551 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & target_name ()
(Required) The name by which the capability is being exposed.
Defined at line 5578 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & subdir ()
(Optional) The subdirectory of this directory to expose instead of the
root.
Defined at line 5633 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & source_dictionary ()
(Optional) Path in a dictionary offered by `ref` which contains `source_name`.
If this field is absent, `source_name` identifies a capability directly routed
by `source`. If set, `source_name` identifies a capability nested inside a
dictionary. The name of the top-level dictionary is given by the first path
segment of `source_dictionary`, and `source` is expected to route a
dictionary capability with this name. The rest of the path (possibly empty)
represents the path to a dictionary nested in the top-level dictionary which
is expected to contain `source_name`.
Defined at line 5695 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void ~ExposeDirectory ()
ExposeDirectory & operator= (ExposeDirectory && other)
::std::unique_ptr<ExposeDirectory> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ExposeDirectory * _value, size_t _offset)
zx_status_t Clone (ExposeDirectory * _result)