class OpenFlags

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

DEPRECATED - Use Flags instead.

|OpenFlags| 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 OpenFlags kRightReadable
static OpenFlags kRightWritable
static OpenFlags kRightExecutable
static OpenFlags kCreate
static OpenFlags kCreateIfAbsent
static OpenFlags kTruncate
static OpenFlags kDirectory
static OpenFlags kAppend
static OpenFlags kNodeReference
static OpenFlags kDescribe
static OpenFlags kPosixWritable
static OpenFlags kPosixExecutable
static OpenFlags kNotDirectory
static OpenFlags kCloneSameRights
static OpenFlags kBlockDevice
static OpenFlags kMask

Public Methods

void OpenFlags ()

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

void OpenFlags (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

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

bool operator bool ()

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

bool operator== (const OpenFlags & other)

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

bool operator!= (const OpenFlags & other)

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

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

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

OpenFlags TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

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

OpenFlags operator~ ()

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

OpenFlags operator| (const OpenFlags & other)

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

OpenFlags operator& (const OpenFlags & other)

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

OpenFlags operator^ (const OpenFlags & other)

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

OpenFlags operator- (const OpenFlags & other)

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

void operator|= (const OpenFlags & other)

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

void operator&= (const OpenFlags & other)

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

void operator^= (const OpenFlags & other)

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

void operator-= (const OpenFlags & other)

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