class OptionalUint32
Defined at line 13305 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
An optional uint32 value.
Public Members
static const fidl_type_t * FidlType
Public Methods
void OptionalUint32 ()
bool has_invalid_tag ()
Defined at line 13332 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool is_value ()
Defined at line 13336 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool is_unset ()
Defined at line 13349 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void ~OptionalUint32 ()
void OptionalUint32 (OptionalUint32 && )
OptionalUint32 & operator= (OptionalUint32 && )
OptionalUint32 WithValue (uint32_t && )
OptionalUint32 WithUnset (::fuchsia::posix::socket::Empty && )
::std::unique_ptr<OptionalUint32> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,OptionalUint32 *value,size_toffset)
zx_status_t Clone (OptionalUint32 * result)
OptionalUint32 & set_value (uint32_t value)
uint32_t & value ()
Defined at line 13338 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const uint32_t & value ()
Defined at line 13343 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::Empty & unset ()
Defined at line 13351 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::fuchsia::posix::socket::Empty & unset ()
Defined at line 13356 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::OptionalUint32::Tag Which ()
Defined at line 13362 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 13370 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
OptionalUint32 & set_unset (::fuchsia::posix::socket::Empty value)
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kValue | 1 |
0x1 |
| kUnset | 2 |
0x2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 13318 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Friends
class Equality