class InputTypes

Defined at line 156 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

Identifies the types of input events which may be handled by a View.

|InputTypes| 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 InputTypes kKey
static InputTypes kMouseClick
static InputTypes kMouseWheel
static InputTypes kMouseMove
static InputTypes kGestureTap
static InputTypes kGesturePinch
static InputTypes kGestureDrag
static InputTypes kAll
static InputTypes kMask

Public Methods

void InputTypes ()

Defined at line 158 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void InputTypes (uint64_t value)

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

preserving any bit member not defined in the FIDL schema.

Defined at line 162 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

uint64_t operator unsigned long ()

Defined at line 173 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

bool operator bool ()

Defined at line 174 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

bool operator== (const InputTypes & other)

Defined at line 175 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

bool operator!= (const InputTypes & other)

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

std::optional<InputTypes> TryFrom (uint64_t value)

Constructs an instance of |InputTypes| 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 190 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

InputTypes TruncatingUnknown (uint64_t value)

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

clearing any bit member not defined in the FIDL schema.

Defined at line 199 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

InputTypes operator~ ()

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

InputTypes operator| (const InputTypes & other)

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

InputTypes operator& (const InputTypes & other)

Defined at line 233 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

InputTypes operator^ (const InputTypes & other)

Defined at line 238 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

InputTypes operator- (const InputTypes & other)

Defined at line 243 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator|= (const InputTypes & other)

Defined at line 248 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator&= (const InputTypes & other)

Defined at line 253 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator^= (const InputTypes & other)

Defined at line 258 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator-= (const InputTypes & other)

Defined at line 263 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h