class ParameterValue

Defined at line 48 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_types.h

Public Methods

void ParameterValue (ParameterValue && other)
ParameterValue & operator= (ParameterValue && other)
void ParameterValue (const ParameterValue & other)
ParameterValue & operator= (const ParameterValue & other)
bool operator== (const ParameterValue & other)
bool operator!= (const ParameterValue & other)
bool IsUnknown ()
::fuchsia_scheduler::ParameterValue::Tag Which ()
ParameterValue WithFloatValue (double val)
const ::fidl::internal::UnionMemberView<1, Storage_> float_value ()
::fidl::internal::UnionMemberView<1, Storage_> float_value ()
ParameterValue & float_value (double value)

Sets the union to hold the float_value member.

ParameterValue WithIntValue (int64_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> int_value ()
::fidl::internal::UnionMemberView<2, Storage_> int_value ()
ParameterValue & int_value (int64_t value)

Sets the union to hold the int_value member.

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

Sets the union to hold the string_value member.

void ParameterValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kFloatValue 1
kIntValue 2
kStringValue 3
_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 56 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits