class Options

Defined at line 128 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

Options for creating a ram-disk. Some combinations are invalid and will

result in ZX_ERR_INVALID_ARGS.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_ramdisk::wire::Options> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_ramdisk::wire::Options> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_ramdisk::wire::Options>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Options ()

Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

void Options (const Options & other)

Defined at line 131 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

void Options (Options && other)

Defined at line 133 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

void _CloseHandles ()
uint32_t & block_size ()

If unspecified, the system page size is used.

bool has_block_size ()
uint64_t & block_count ()

If unspecified, will be deduced from `vmo`.

bool has_block_count ()
Options & operator= (const Options & other)

Defined at line 132 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

Options & operator= (Options && other)

Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

::fuchsia_hardware_ramdisk::wire::Guid & type_guid ()

Optional type GUID returned in the fuchsia.hardware.block.partition.Partition protocol.

bool has_type_guid ()
::zx::vmo & vmo ()

If unspecified, a VMO will be created, in which case `block_count` must be specified.

bool has_vmo ()
bool & publish ()

If true, expose fuchsia.hardware.block.volume.Service for the ramdisk.

bool has_publish ()
uint32_t & max_transfer_blocks ()

If unspecified, there is no maximum.

bool has_max_transfer_blocks ()
::fuchsia_storage_block::wire::DeviceFlag & device_flags ()

If unspecified, a default set of flags is used.

bool has_device_flags ()
void ~Options ()

Defined at line 136 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder