class StorageStatus
Defined at line 2812 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Metadata about status of the storage
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component::wire::StorageStatus> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component::wire::StorageStatus> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::StorageStatus>> 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::wire::StorageStatus>> && frame_ptr)
void StorageStatus ()
Defined at line 2814 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void StorageStatus (StorageStatus && other)
Defined at line 2817 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
StorageStatus & operator= (StorageStatus && other)
Defined at line 2818 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
uint64_t & total_size ()
bool has_total_size ()
bool has_used_size ()
StorageStatus & operator= (const StorageStatus & other)
Defined at line 2816 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
StorageStatus & set_total_size (::fidl::ObjectView<uint64_t> elem)
StorageStatus & set_total_size (std::nullptr_t )
StorageStatus & clear_total_size ()
StorageStatus & set_used_size (::fidl::ObjectView<uint64_t> elem)
StorageStatus & set_used_size (std::nullptr_t )
StorageStatus & clear_used_size ()
void StorageStatus (::fidl::AnyArena & allocator)
void StorageStatus (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::StorageStatus>> && 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 StorageStatus (const StorageStatus & other)
Defined at line 2815 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
uint64_t & used_size ()
void ~StorageStatus ()
Defined at line 2820 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder