class SerializableUnion
Defined at line 3295 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void SerializableUnion ()
void ~SerializableUnion ()
void SerializableUnion (SerializableUnion && )
SerializableUnion & operator= (SerializableUnion && )
SerializableUnion WithUnused (bool && )
::std::unique_ptr<SerializableUnion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SerializableUnion * value, size_t offset)
zx_status_t Clone (SerializableUnion * result)
bool has_invalid_tag ()
Defined at line 3320 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
bool is_unused ()
Defined at line 3324 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
SerializableUnion & set_unused (bool value)
bool & unused ()
Defined at line 3326 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
const bool & unused ()
Defined at line 3331 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
::test::types::SerializableUnion::Tag Which ()
Defined at line 3337 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/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 3345 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnused | 1 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 3307 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
Friends
class Equality