class ModeType

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

|ModeType| is strict, hence is guaranteed to only contain

members defined in the FIDL schema when receiving it in a message.

Sending unknown members will fail at runtime.

Public Members

static ModeType kDoNotUse
static ModeType kMask

Public Methods

void ModeType ()

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

void ModeType (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

Defined at line 328 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 332 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

bool operator bool ()

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

bool operator== (const ModeType & other)

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

bool operator!= (const ModeType & other)

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

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

Constructs an instance of |ModeType| 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 349 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

ModeType TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

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

ModeType operator~ ()

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

ModeType operator| (const ModeType & other)

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

ModeType operator& (const ModeType & other)

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

ModeType operator^ (const ModeType & other)

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

ModeType operator- (const ModeType & other)

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

void operator|= (const ModeType & other)

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

void operator&= (const ModeType & other)

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

void operator^= (const ModeType & other)

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

void operator-= (const ModeType & other)

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