class OptionalUint8
Defined at line 11358 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h
An optional byte value.
Public Methods
void OptionalUint8 (OptionalUint8 && other)
OptionalUint8 & operator= (OptionalUint8 && other)
void OptionalUint8 (const OptionalUint8 & other)
OptionalUint8 & operator= (const OptionalUint8 & other)
bool operator== (const OptionalUint8 & other)
bool operator!= (const OptionalUint8 & other)
::fuchsia_posix_socket::OptionalUint8::Tag Which ()
OptionalUint8 WithValue (uint8_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> value ()
::fidl::internal::UnionMemberView<1, Storage_> value ()
OptionalUint8 & value (uint8_t value)
Sets the union to hold the value member.
OptionalUint8 WithUnset (::fuchsia_posix_socket::Empty val)
const ::fidl::internal::UnionMemberView<2, Storage_> unset ()
::fidl::internal::UnionMemberView<2, Storage_> unset ()
OptionalUint8 & unset (::fuchsia_posix_socket::Empty value)
Sets the union to hold the unset member.
void OptionalUint8 (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kValue | 1 |
| kUnset | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 11368 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits