class AllocateMode

Defined at line 724 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

|AllocateMode| is flexible, hence may contain unknown members not

defined in the FIDL schema.

Public Members

static AllocateMode kKeepSize
static AllocateMode kUnshareRange
static AllocateMode kPunchHole
static AllocateMode kCollapseRange
static AllocateMode kZeroRange
static AllocateMode kInsertRange
static AllocateMode kMask

Public Methods

void AllocateMode ()

Defined at line 726 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

void AllocateMode (uint32_t value)

Constructs an instance of |AllocateMode| from an underlying primitive value,

preserving any bit member not defined in the FIDL schema.

Defined at line 730 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 739 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

bool operator bool ()

Defined at line 740 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

bool operator== (const AllocateMode & other)

Defined at line 741 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

bool operator!= (const AllocateMode & other)

Defined at line 742 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

std::optional<AllocateMode> TryFrom (uint32_t value)

Constructs an instance of |AllocateMode| from an underlying primitive value

if the primitive does not contain any unknown members not defined in the

FIDL schema. Otherwise, returns |std::nullopt|.

Defined at line 756 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode TruncatingUnknown (uint32_t value)

Constructs an instance of |AllocateMode| from an underlying primitive value,

clearing any bit member not defined in the FIDL schema.

Defined at line 765 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode unknown_bits ()

Defined at line 768 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

bool has_unknown_bits ()

Defined at line 771 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode operator~ ()

Defined at line 790 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode operator| (const AllocateMode & other)

Defined at line 794 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode operator& (const AllocateMode & other)

Defined at line 799 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode operator^ (const AllocateMode & other)

Defined at line 804 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

AllocateMode operator- (const AllocateMode & other)

Defined at line 809 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

void operator|= (const AllocateMode & other)

Defined at line 814 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

void operator&= (const AllocateMode & other)

Defined at line 819 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

void operator^= (const AllocateMode & other)

Defined at line 824 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

void operator-= (const AllocateMode & other)

Defined at line 829 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h