class OptionalUint32
Defined at line 13301 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 ()
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_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, OptionalUint32 * value, size_t offset)
zx_status_t Clone (OptionalUint32 * result)
bool has_invalid_tag ()
Defined at line 13328 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 13332 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
OptionalUint32 & set_value (uint32_t value)
uint32_t & value ()
Defined at line 13334 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 13339 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 13345 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)
::fuchsia::posix::socket::Empty & unset ()
Defined at line 13347 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 13352 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 13358 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 13366 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kValue | 1 |
| kUnset | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 13314 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Friends
class Equality