class Switch
Defined at line 3442 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void Switch ()
void ~Switch ()
void Switch (Switch && )
Switch & operator= (Switch && )
Switch WithMember (::fidl::test::dangerous::union_::names::camel1::membertype && )
::std::unique_ptr<Switch> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Switch * value, size_t offset)
zx_status_t Clone (Switch * result)
bool has_invalid_tag ()
Defined at line 3467 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
bool is_member ()
Defined at line 3471 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
::fidl::test::dangerous::union_::names::camel1::membertype & member ()
Defined at line 3473 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
const ::fidl::test::dangerous::union_::names::camel1::membertype & member ()
Defined at line 3478 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
::fidl::test::dangerous::union_::names::camel1::Switch::Tag Which ()
Defined at line 3484 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/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 3492 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
Switch & set_member (::fidl::test::dangerous::union_::names::camel1::membertype value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kMember | 1 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 3454 of file fidling/gen/src/tests/fidl/dangerous_identifiers/fidl.test.dangerous.union.names.camel1/hlcpp/fidl/test/dangerous/union/names/camel1/cpp/fidl.h
Friends
class Equality