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