class Value
Defined at line 5859 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
Value
Generic "value" for use within generic "Parameter" struct.
Public Methods
void Value (Value && other)
Value & operator= (Value && other)
void Value (const Value & other)
Value & operator= (const Value & other)
bool operator== (const Value & other)
bool operator!= (const Value & other)
::fuchsia_media::Value::Tag Which ()
Value WithBoolValue (bool val)
const ::fidl::internal::UnionMemberView<1, Storage_> bool_value ()
::fidl::internal::UnionMemberView<1, Storage_> bool_value ()
Value & bool_value (bool value)
Sets the union to hold the bool_value member.
Value WithUint64Value (uint64_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> uint64_value ()
::fidl::internal::UnionMemberView<2, Storage_> uint64_value ()
Value & uint64_value (uint64_t value)
Sets the union to hold the uint64_value member.
Value WithInt64Value (int64_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> int64_value ()
::fidl::internal::UnionMemberView<3, Storage_> int64_value ()
Value & int64_value (int64_t value)
Sets the union to hold the int64_value member.
Value WithStringValue (::std::string val)
const ::fidl::internal::UnionMemberView<4, Storage_> string_value ()
::fidl::internal::UnionMemberView<4, Storage_> string_value ()
Value & string_value (::std::string value)
Sets the union to hold the string_value member.
Value WithBytesValue (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<5, Storage_> bytes_value ()
::fidl::internal::UnionMemberView<5, Storage_> bytes_value ()
Value & bytes_value (::std::vector<uint8_t> value)
Sets the union to hold the bytes_value member.
void Value (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kBoolValue | 1 |
| kUint64Value | 2 |
| kInt64Value | 3 |
| kStringValue | 4 |
| kBytesValue | 5 |
TODO: share union tag types between wire
&
natural.
Defined at line 5872 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits