class PartitionInfo
Defined at line 226 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
Metadata describing a partition.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_storage_block::wire::PartitionInfo> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_storage_block::wire::PartitionInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_storage_block::wire::PartitionInfo>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void PartitionInfo ()
Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
void PartitionInfo (const PartitionInfo & other)
Defined at line 229 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
::fidl::StringView & name ()
bool has_name ()
PartitionInfo & operator= (const PartitionInfo & other)
Defined at line 230 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
void PartitionInfo (PartitionInfo && other)
Defined at line 231 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
PartitionInfo & operator= (PartitionInfo && other)
Defined at line 232 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
::fuchsia_storage_block::wire::Guid & type_guid ()
bool has_type_guid ()
::fuchsia_storage_block::wire::Guid & instance_guid ()
bool has_instance_guid ()
uint64_t & start_block_offset ()
bool has_start_block_offset ()
uint64_t & num_blocks ()
num_blocks will be absent if the partition is a volume, which is dynamically sized and can
grow via fuchsia.storage.block.Block/Extend. To get the current size, use
fuchsia.storage.block.Block/GetVolumeInfo.
bool has_num_blocks ()
uint64_t & flags ()
The partition table entry flags (for example, in a GPT partition, the GPT partition table
entry flags). Note that this is distinct from the device flags returned in BlockInfo.
bool has_flags ()
PartitionInfo & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
PartitionInfo & set_name (std::nullptr_t )
PartitionInfo & clear_name ()
PartitionInfo & set_type_guid (::fidl::ObjectView< ::fuchsia_storage_block::wire::Guid> elem)
PartitionInfo & set_type_guid (std::nullptr_t )
PartitionInfo & clear_type_guid ()
PartitionInfo & set_instance_guid (::fidl::ObjectView< ::fuchsia_storage_block::wire::Guid> elem)
PartitionInfo & set_instance_guid (std::nullptr_t )
PartitionInfo & clear_instance_guid ()
PartitionInfo & set_start_block_offset (::fidl::ObjectView<uint64_t> elem)
PartitionInfo & set_start_block_offset (std::nullptr_t )
PartitionInfo & clear_start_block_offset ()
PartitionInfo & set_num_blocks (::fidl::ObjectView<uint64_t> elem)
PartitionInfo & set_num_blocks (std::nullptr_t )
PartitionInfo & clear_num_blocks ()
PartitionInfo & set_flags (::fidl::ObjectView<uint64_t> elem)
PartitionInfo & set_flags (std::nullptr_t )
PartitionInfo & clear_flags ()
void PartitionInfo (::fidl::AnyArena & allocator)
void PartitionInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_storage_block::wire::PartitionInfo>> && 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_storage_block::wire::PartitionInfo>> && frame_ptr)
void ~PartitionInfo ()
Defined at line 234 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder