class Storage

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

Declares a storage capability backed by a directory from which data, cache,

or meta storage can be offered.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

Storage & set_name (::std::string _value)
Storage & set_source (::fuchsia::component::decl::Ref _value)
Storage & set_backing_dir (::std::string _value)
Storage & set_subdir (::std::string _value)
Storage & set_storage_id (::fuchsia::component::decl::StorageId _value)
void Storage ()
void Storage (Storage && other)
void ~Storage ()
Storage & operator= (Storage && other)
::std::unique_ptr<Storage> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Storage * _value, size_t _offset)
zx_status_t Clone (Storage * _result)
const ::std::string & name ()

(Required) The name of this storage

Defined at line 4395 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 4399 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 storage

Defined at line 4404 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 4412 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

const ::fuchsia::component::decl::Ref & source ()

(Required) The provider of the backing directory capability relative to

the component itself. Must be `parent`, `self`, or `child`.

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

bool has_source ()

Defined at line 4426 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 backing directory capability relative to

the component itself. Must be `parent`, `self`, or `child`.

Defined at line 4432 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 4440 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

const ::std::string & backing_dir ()

(Required) The name of the directory capability from `source` that backs

the storage.

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

bool has_backing_dir ()

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

::std::string * mutable_backing_dir ()

(Required) The name of the directory capability from `source` that backs

the storage.

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

void clear_backing_dir ()

Defined at line 4468 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 the source directory that will back the

storage

Defined at line 4478 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 4482 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 the source directory that will back the

storage

Defined at line 4488 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 4496 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

const ::fuchsia::component::decl::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.

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

bool has_storage_id ()

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

::fuchsia::component::decl::StorageId * mutable_storage_id ()

(Required) This enum determines how to key a component's isolated

storage directory. Each option corresponds to a different key'ing

strategy.

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

void clear_storage_id ()

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