class FileMode
Defined at line 20 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
|FileMode| 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 FileMode kRead
static FileMode kWrite
static FileMode kExecute
static FileMode kMask
Public Methods
void FileMode ()
Defined at line 22 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
void FileMode (uint16_t value)
Constructs an instance of |FileMode| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 26 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 32 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
bool operator bool ()
Defined at line 33 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
bool operator== (const FileMode & other)
Defined at line 34 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
bool operator!= (const FileMode & other)
Defined at line 35 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
std::optional<FileMode> TryFrom (uint16_t value)
Constructs an instance of |FileMode| 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 49 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
FileMode TruncatingUnknown (uint16_t value)
Constructs an instance of |FileMode| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 58 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
FileMode operator~ ()
Defined at line 73 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
FileMode operator| (const FileMode & other)
Defined at line 77 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
FileMode operator& (const FileMode & other)
Defined at line 82 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
FileMode operator^ (const FileMode & other)
Defined at line 87 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
FileMode operator- (const FileMode & other)
Defined at line 92 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
void operator|= (const FileMode & other)
Defined at line 97 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
void operator&= (const FileMode & other)
Defined at line 102 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
void operator^= (const FileMode & other)
Defined at line 107 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h
void operator-= (const FileMode & other)
Defined at line 112 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/common_types.h