class FlexibleFileMode

Defined at line 119 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

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

defined in the FIDL schema.

Public Members

static FlexibleFileMode kRead
static FlexibleFileMode kWrite
static FlexibleFileMode kExecute
static FlexibleFileMode kMask

Public Methods

void FlexibleFileMode ()

Defined at line 121 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

void FlexibleFileMode (uint16_t value)

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

preserving any bit member not defined in the FIDL schema.

Defined at line 125 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

uint16_t operator unsigned short ()

Defined at line 131 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

bool operator bool ()

Defined at line 132 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

bool operator== (const FlexibleFileMode & other)

Defined at line 133 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

bool operator!= (const FlexibleFileMode & other)

Defined at line 134 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

std::optional<FlexibleFileMode> TryFrom (uint16_t value)

Constructs an instance of |FlexibleFileMode| 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 148 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode TruncatingUnknown (uint16_t value)

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

clearing any bit member not defined in the FIDL schema.

Defined at line 157 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode unknown_bits ()

Defined at line 160 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

bool has_unknown_bits ()

Defined at line 163 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode operator~ ()

Defined at line 176 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode operator| (const FlexibleFileMode & other)

Defined at line 180 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode operator& (const FlexibleFileMode & other)

Defined at line 185 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode operator^ (const FlexibleFileMode & other)

Defined at line 190 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

FlexibleFileMode operator- (const FlexibleFileMode & other)

Defined at line 195 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

void operator|= (const FlexibleFileMode & other)

Defined at line 200 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

void operator&= (const FlexibleFileMode & other)

Defined at line 205 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

void operator^= (const FlexibleFileMode & other)

Defined at line 210 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h

void operator-= (const FlexibleFileMode & other)

Defined at line 215 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h