class this_is_a_union
Defined at line 692 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void this_is_a_union ()
void ~this_is_a_union ()
void this_is_a_union (this_is_a_union && )
this_is_a_union & operator= (this_is_a_union && )
this_is_a_union WithS (::std::string && )
this_is_a_union WithB (bool && )
::std::unique_ptr<this_is_a_union> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, this_is_a_union * value, size_t offset)
zx_status_t Clone (this_is_a_union * result)
bool has_invalid_tag ()
Defined at line 719 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
bool is_s ()
Defined at line 723 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
::std::string & s ()
Defined at line 725 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
const ::std::string & s ()
Defined at line 730 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
bool is_b ()
Defined at line 736 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
bool & b ()
Defined at line 738 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
const bool & b ()
Defined at line 743 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
::fidl::test::compatibility::this_is_a_union::Tag Which ()
Defined at line 749 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/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 757 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
this_is_a_union & set_s (::std::string value)
this_is_a_union & set_b (bool value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kS | 1 |
| kB | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 705 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
Friends
class Equality