class OptionalUint8
Defined at line 13106 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
An optional byte value.
Public Members
static const fidl_type_t * FidlType
Public Methods
void OptionalUint8 ()
void ~OptionalUint8 ()
void OptionalUint8 (OptionalUint8 && )
OptionalUint8 & operator= (OptionalUint8 && )
OptionalUint8 WithValue (uint8_t && )
OptionalUint8 WithUnset (::fuchsia::posix::socket::Empty && )
::std::unique_ptr<OptionalUint8> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, OptionalUint8 * value, size_t offset)
zx_status_t Clone (OptionalUint8 * result)
bool has_invalid_tag ()
Defined at line 13133 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 13137 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
OptionalUint8 & set_value (uint8_t value)
uint8_t & value ()
Defined at line 13139 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const uint8_t & value ()
Defined at line 13144 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 13150 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
OptionalUint8 & set_unset (::fuchsia::posix::socket::Empty value)
::fuchsia::posix::socket::Empty & unset ()
Defined at line 13152 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 13157 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::OptionalUint8::Tag Which ()
Defined at line 13163 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 13171 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 13119 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Friends
class Equality