class Storage
Defined at line 4189 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares a storage capability backed by a directory from which data, cache,
or meta storage can be offered.
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::Storage> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Storage> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Storage>> 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::Storage>> && frame_ptr)
void Storage ()
Defined at line 4191 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Storage (const Storage & other)
Defined at line 4192 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Storage (Storage && other)
Defined at line 4194 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fidl::StringView & name ()
(Required) The name of this storage
bool has_name ()
::fuchsia_component_decl::wire::Ref & source ()
(Required) The provider of the backing directory capability relative to
the component itself. Must be `parent`, `self`, or `child`.
bool has_source ()
::fidl::StringView & backing_dir ()
(Required) The name of the directory capability from `source` that backs
the storage.
bool has_backing_dir ()
::fidl::StringView & subdir ()
(Optional) The subdirectory of the source directory that will back the
storage
bool has_subdir ()
::fuchsia_component_decl::wire::StorageId & storage_id ()
(Required) This enum determines how to key a component's isolated
storage directory. Each option corresponds to a different key'ing
strategy.
bool has_storage_id ()
Storage & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Storage & set_name (std::nullptr_t )
Storage & clear_name ()
Storage & operator= (const Storage & other)
Defined at line 4193 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Storage & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
Storage & set_source (std::nullptr_t )
Storage & clear_source ()
Storage & set_backing_dir (::fidl::ObjectView< ::fidl::StringView> elem)
Storage & set_backing_dir (std::nullptr_t )
Storage & clear_backing_dir ()
Storage & set_subdir (::fidl::ObjectView< ::fidl::StringView> elem)
Storage & set_subdir (std::nullptr_t )
Storage & clear_subdir ()
Storage & set_storage_id (::fuchsia_component_decl::wire::StorageId elem)
Storage & clear_storage_id ()
void Storage (::fidl::AnyArena & allocator)
void Storage (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Storage>> && 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.
Storage & operator= (Storage && other)
Defined at line 4195 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ~Storage ()
Defined at line 4197 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