class Storage

Defined at line 4306 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 4313 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 4317 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 4322 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 4330 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 4340 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 4344 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 4350 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 4358 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 4368 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 4372 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 4378 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 4386 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 4396 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 4400 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 4406 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 4414 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 4425 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 4429 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 4436 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 4444 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h