class SendMsgFlags

Defined at line 218 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

|SendMsgFlags| 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 SendMsgFlags kReserved
static SendMsgFlags kMask

Public Methods

void SendMsgFlags ()

Defined at line 220 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

void SendMsgFlags (uint16_t value)

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

preserving any bit member not defined in the FIDL schema.

Defined at line 224 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

uint16_t operator unsigned short ()

Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

bool operator bool ()

Defined at line 229 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

bool operator== (const SendMsgFlags & other)

Defined at line 230 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

bool operator!= (const SendMsgFlags & other)

Defined at line 231 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

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

Constructs an instance of |SendMsgFlags| 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 245 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

SendMsgFlags TruncatingUnknown (uint16_t value)

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

clearing any bit member not defined in the FIDL schema.

Defined at line 254 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

SendMsgFlags operator~ ()

Defined at line 265 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

SendMsgFlags operator| (const SendMsgFlags & other)

Defined at line 269 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

SendMsgFlags operator& (const SendMsgFlags & other)

Defined at line 274 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h

SendMsgFlags operator^ (const SendMsgFlags & other)

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

SendMsgFlags operator- (const SendMsgFlags & other)

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

void operator|= (const SendMsgFlags & other)

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

void operator&= (const SendMsgFlags & other)

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

void operator^= (const SendMsgFlags & other)

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

void operator-= (const SendMsgFlags & other)

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