class FlexibleJsonValue

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

Public Methods

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

Sets the union to hold the int_value member.

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

Sets the union to hold the string_value member.

void FlexibleJsonValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kIntValue 1
kStringValue 2
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits