class this_is_a_xunion
Defined at line 858 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_xunion ()
void ~this_is_a_xunion ()
void this_is_a_xunion (this_is_a_xunion && )
this_is_a_xunion & operator= (this_is_a_xunion && )
this_is_a_xunion WithS (::std::string && )
this_is_a_xunion WithB (bool && )
::std::unique_ptr<this_is_a_xunion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, this_is_a_xunion * value, size_t offset)
zx_status_t Clone (this_is_a_xunion * result)
bool has_invalid_tag ()
Defined at line 886 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
bool is_s ()
Defined at line 890 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
::std::string & s ()
Defined at line 892 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 897 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
bool is_b ()
Defined at line 903 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
bool & b ()
Defined at line 905 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
const bool & b ()
Defined at line 910 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
this_is_a_xunion & set_s (::std::string value)
this_is_a_xunion & set_b (bool value)
this_is_a_xunion & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fidl::test::compatibility::this_is_a_xunion::Tag Which ()
Defined at line 917 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 932 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 935 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kS | 1 |
| kB | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 871 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/hlcpp/fidl/test/compatibility/cpp/fidl.h
Friends
class Equality