class MyXUnionB
Defined at line 20 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
Domain objects declarations
Public Members
static const fidl_type_t * FidlType
Public Methods
void MyXUnionB ()
void ~MyXUnionB ()
void MyXUnionB (MyXUnionB && )
MyXUnionB & operator= (MyXUnionB && )
MyXUnionB WithFoo (uint32_t && )
MyXUnionB WithBar (bool && )
::std::unique_ptr<MyXUnionB> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, MyXUnionB * value, size_t offset)
zx_status_t Clone (MyXUnionB * result)
bool has_invalid_tag ()
Defined at line 48 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
bool is_foo ()
Defined at line 52 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
uint32_t & foo ()
Defined at line 54 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
const uint32_t & foo ()
Defined at line 59 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
bool is_bar ()
Defined at line 65 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
bool & bar ()
Defined at line 67 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
const bool & bar ()
Defined at line 72 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
MyXUnionB & set_foo (uint32_t value)
MyXUnionB & set_bar (bool value)
MyXUnionB & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fidl::test::example::codingtablesdeps::MyXUnionB::Tag Which ()
Defined at line 79 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/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 92 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 95 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/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 33 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtablesdeps/hlcpp/fidl/test/example/codingtablesdeps/cpp/fidl.h
Friends
class Equality