class UseStorage
Defined at line 15091 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares storage used by a component, which was offered to it.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::UseStorage> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::UseStorage> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseStorage>> 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_decl::wire::UseStorage>> && frame_ptr)
void UseStorage ()
Defined at line 15093 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void UseStorage (UseStorage && other)
Defined at line 15096 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseStorage & operator= (UseStorage && other)
Defined at line 15097 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fidl::StringView & source_name ()
(Required) Name identifying the storage, by which it was presented to
this component.
bool has_source_name ()
::fidl::StringView & target_path ()
(Required) The path where the capability should be installed in the
component's namespace.
Must be an absolute path starting with /.
bool has_target_path ()
bool has_availability ()
UseStorage & operator= (const UseStorage & other)
Defined at line 15095 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
UseStorage & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
UseStorage & set_source_name (std::nullptr_t )
UseStorage & clear_source_name ()
UseStorage & set_target_path (::fidl::ObjectView< ::fidl::StringView> elem)
UseStorage & set_target_path (std::nullptr_t )
UseStorage & clear_target_path ()
UseStorage & set_availability (::fuchsia_component_decl::wire::Availability elem)
UseStorage & clear_availability ()
void UseStorage (::fidl::AnyArena & allocator)
void UseStorage (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseStorage>> && 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 UseStorage (const UseStorage & other)
Defined at line 15094 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fuchsia_component_decl::wire::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
void ~UseStorage ()
Defined at line 15099 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder