class JsonValue

Defined at line 526 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/natural_types.h

Public Methods

void JsonValue (JsonValue && other)
JsonValue & operator= (JsonValue && other)
void JsonValue (const JsonValue & other)
JsonValue & operator= (const JsonValue & other)
bool operator== (const JsonValue & other)
bool operator!= (const JsonValue & other)
::fuchsia_examples::JsonValue::Tag Which ()
JsonValue WithIntValue (int32_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> int_value ()
::fidl::internal::UnionMemberView<1, Storage_> int_value ()
JsonValue & int_value (int32_t value)

Sets the union to hold the int_value member.

JsonValue WithStringValue (::std::string val)
const ::fidl::internal::UnionMemberView<2, Storage_> string_value ()
::fidl::internal::UnionMemberView<2, Storage_> string_value ()
JsonValue & string_value (::std::string value)

Sets the union to hold the string_value member.

void JsonValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kIntValue 1

0x1

kStringValue 2

0x2

TODO: share union tag types between wire

&

natural.

Defined at line 534 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits