class MyXunion
Defined at line 112 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 MyXunion ()
void MyXunion (MyXunion && )
::std::unique_ptr<MyXunion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, MyXunion * value, size_t offset)
zx_status_t Clone (MyXunion * result)
uint8_t & my_uint8 ()
Defined at line 176 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
::fuchsia::example::fostr::MyXunion::Tag Which ()
Defined at line 201 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 216 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
MyXunion & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()
Defined at line 144 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 148 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 150 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 155 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 161 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 163 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 168 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 174 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 181 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 187 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 189 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 194 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 219 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
void ~MyXunion ()
MyXunion & operator= (MyXunion && )
MyXunion WithI (int32_t && )
MyXunion WithB (bool && )
MyXunion WithMyUint8 (uint8_t && )
MyXunion WithMyInt8 (int8_t && )
MyXunion & set_i (int32_t value)
MyXunion & set_b (bool value)
MyXunion & set_my_uint8 (uint8_t value)
MyXunion & set_my_int8 (int8_t value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kI | 1 |
| kB | 2 |
| kMyUint8 | 4 |
| kMyInt8 | 5 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 127 of file fidling/gen/src/lib/fostr/test/fuchsia.example.fostr/fuchsia.example.fostr/hlcpp/fuchsia/example/fostr/cpp/fidl.h
Friends
class Equality