class StatusFlags
Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
ADB USB interface status flags.
|StatusFlags| is flexible, hence may contain unknown members not
defined in the FIDL schema.
Public Members
static StatusFlags ONLINE
static StatusFlags kMask
Public Methods
void StatusFlags ()
Defined at line 20 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
std::optional<StatusFlags> TryFrom (uint32_t value)
Constructs an instance of |StatusFlags| 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 25 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
StatusFlags TruncatingUnknown (uint32_t value)
Constructs an instance of |StatusFlags| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 34 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
void StatusFlags (uint32_t value)
Constructs an instance of |StatusFlags| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 40 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
uint32_t operator unsigned int ()
Defined at line 44 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
bool operator bool ()
Defined at line 45 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
bool operator== (const StatusFlags & other)
Defined at line 46 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
bool operator!= (const StatusFlags & other)
Defined at line 47 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
StatusFlags unknown_bits ()
Defined at line 55 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
bool has_unknown_bits ()
Defined at line 58 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
StatusFlags operator~ ()
Defined at line 70 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
StatusFlags operator| (const StatusFlags & other)
Defined at line 74 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
StatusFlags operator& (const StatusFlags & other)
Defined at line 79 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
StatusFlags operator^ (const StatusFlags & other)
Defined at line 84 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
void operator|= (const StatusFlags & other)
Defined at line 89 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
void operator&= (const StatusFlags & other)
Defined at line 94 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h
void operator^= (const StatusFlags & other)
Defined at line 99 of file fidling/gen/sdk/fidl/fuchsia.hardware.adb/fuchsia.hardware.adb/hlcpp/fuchsia/hardware/adb/cpp/fidl.h