class MyStrictXUnion

Defined at line 372 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 MyStrictXUnion ()
void ~MyStrictXUnion ()
void MyStrictXUnion (MyStrictXUnion && )
MyStrictXUnion & operator= (MyStrictXUnion && )
MyStrictXUnion WithFoo (bool && )
MyStrictXUnion WithBar (int32_t && )
::std::unique_ptr<MyStrictXUnion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, MyStrictXUnion * value, size_t offset)
zx_status_t Clone (MyStrictXUnion * result)
bool has_invalid_tag ()

Defined at line 399 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 403 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 405 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 410 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 416 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 418 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 423 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h

::fidl::test::example::codingtables::MyStrictXUnion::Tag Which ()

Defined at line 429 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 435 of file fidling/gen/src/lib/fidl/c/coding_tables_tests/fidl.test.example.codingtables/hlcpp/fidl/test/example/codingtables/cpp/fidl.h

MyStrictXUnion & set_foo (bool value)
MyStrictXUnion & set_bar (int32_t value)

Enumerations

enum Tag
Name Value
kFoo 1
kBar 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 385 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