class NavigationPhase

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

Identifies a navigation phase.

|NavigationPhase| 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 NavigationPhase kStart
static NavigationPhase kRedirect
static NavigationPhase kProcessResponse
static NavigationPhase kFail
static NavigationPhase kMask

Public Methods

void NavigationPhase ()

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

void NavigationPhase (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

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

uint32_t operator unsigned int ()

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

bool operator bool ()

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

bool operator== (const NavigationPhase & other)

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

bool operator!= (const NavigationPhase & other)

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

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

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

NavigationPhase TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

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

NavigationPhase operator~ ()

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

NavigationPhase operator| (const NavigationPhase & other)

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

NavigationPhase operator& (const NavigationPhase & other)

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

NavigationPhase operator^ (const NavigationPhase & other)

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

NavigationPhase operator- (const NavigationPhase & other)

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

void operator|= (const NavigationPhase & other)

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

void operator&= (const NavigationPhase & other)

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

void operator^= (const NavigationPhase & other)

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

void operator-= (const NavigationPhase & other)

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