class AllocateMode
Defined at line 826 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
|AllocateMode| is flexible, hence may contain unknown members not
defined in the FIDL schema.
Public Members
static AllocateMode KEEP_SIZE
static AllocateMode UNSHARE_RANGE
static AllocateMode PUNCH_HOLE
static AllocateMode COLLAPSE_RANGE
static AllocateMode ZERO_RANGE
static AllocateMode INSERT_RANGE
static AllocateMode kMask
Public Methods
void AllocateMode ()
Defined at line 828 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.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 833 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.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 842 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.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 848 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
uint32_t operator unsigned int ()
Defined at line 857 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool operator bool ()
Defined at line 858 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool operator== (const AllocateMode & other)
Defined at line 859 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool operator!= (const AllocateMode & other)
Defined at line 860 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
AllocateMode unknown_bits ()
Defined at line 868 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_unknown_bits ()
Defined at line 871 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
AllocateMode operator~ ()
Defined at line 888 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
AllocateMode operator| (const AllocateMode & other)
Defined at line 892 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
AllocateMode operator& (const AllocateMode & other)
Defined at line 897 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
AllocateMode operator^ (const AllocateMode & other)
Defined at line 902 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void operator|= (const AllocateMode & other)
Defined at line 907 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void operator&= (const AllocateMode & other)
Defined at line 912 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void operator^= (const AllocateMode & other)
Defined at line 917 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h