class MyUnion
Defined at line 278 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void MyUnion ()
void MyUnion (MyUnion && )
MyUnion WithI (int32_t && )
MyUnion WithB (bool && )
MyUnion WithMyUint8 (uint8_t && )
MyUnion WithMyInt8 (int8_t && )
::std::unique_ptr<MyUnion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, MyUnion * value, size_t offset)
zx_status_t Clone (MyUnion * result)
bool has_invalid_tag ()
Defined at line 309 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
bool is_i ()
Defined at line 313 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
int32_t & i ()
Defined at line 315 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
const int32_t & i ()
Defined at line 320 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
bool is_b ()
Defined at line 326 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
bool & b ()
Defined at line 328 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
const bool & b ()
Defined at line 333 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
bool is_my_uint8 ()
Defined at line 339 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
uint8_t & my_uint8 ()
Defined at line 341 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
const uint8_t & my_uint8 ()
Defined at line 346 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
bool is_my_int8 ()
Defined at line 352 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
int8_t & my_int8 ()
Defined at line 354 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
const int8_t & my_int8 ()
Defined at line 359 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
::fuchsia::example::fostr::MyUnion::Tag Which ()
Defined at line 365 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/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 371 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
void ~MyUnion ()
MyUnion & operator= (MyUnion && )
MyUnion & set_i (int32_t value)
MyUnion & set_b (bool value)
MyUnion & set_my_uint8 (uint8_t value)
MyUnion & set_my_int8 (int8_t value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kI | 1 |
| kB | 2 |
| kMyUint8 | 4 |
| kMyInt8 | 5 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 293 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
Friends
class Equality