class MyXUnion
Defined at line 269 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void MyXUnion ()
void ~MyXUnion ()
void MyXUnion (MyXUnion && )
MyXUnion & operator= (MyXUnion && )
MyXUnion WithFoo (bool && )
MyXUnion WithBar (int32_t && )
::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)
bool has_invalid_tag ()
Defined at line 297 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
bool is_foo ()
Defined at line 301 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
bool & foo ()
Defined at line 303 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
const bool & foo ()
Defined at line 308 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
bool is_bar ()
Defined at line 314 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
int32_t & bar ()
Defined at line 316 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
const int32_t & bar ()
Defined at line 321 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
MyXUnion & set_foo (bool value)
MyXUnion & set_bar (int32_t value)
MyXUnion & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fidl::test::example::codingtables::MyXUnion::Tag Which ()
Defined at line 328 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/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 341 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 344 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kFoo | 1 |
| kBar | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 282 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h
Friends
class Equality