class IntStructXunion

Defined at line 2238 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

void IntStructXunion ()
void ~IntStructXunion ()
void IntStructXunion (IntStructXunion && )
IntStructXunion & operator= (IntStructXunion && )
IntStructXunion WithVariantI (int32_t && )
IntStructXunion WithVariantTss (::test::fidlcodec::examples::TwoStringStruct && )
::std::unique_ptr<IntStructXunion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, IntStructXunion * value, size_t offset)
zx_status_t Clone (IntStructXunion * result)
bool has_invalid_tag ()

Defined at line 2266 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

bool is_variant_i ()

Defined at line 2270 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

IntStructXunion & set_variant_i (int32_t value)
int32_t & variant_i ()

Defined at line 2272 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

const int32_t & variant_i ()

Defined at line 2277 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

bool is_variant_tss ()

Defined at line 2283 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

IntStructXunion & set_variant_tss (::test::fidlcodec::examples::TwoStringStruct value)
IntStructXunion & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::test::fidlcodec::examples::TwoStringStruct & variant_tss ()

Defined at line 2285 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

const ::test::fidlcodec::examples::TwoStringStruct & variant_tss ()

Defined at line 2290 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

::test::fidlcodec::examples::IntStructXunion::Tag Which ()

Defined at line 2297 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/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 2312 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 2315 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

Enumerations

enum Tag
Name Value
kUnknown 0
kVariantI 1
kVariantTss 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 2251 of file fidling/gen/src/lib/fidl_codec/fidl/hlcpp/test/fidlcodec/examples/cpp/fidl.h

Friends

class Equality