class HealthDiagnosticValue
Defined at line 1199 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h
Diagnostic value returned in a HealthCheckResponse.
Public Methods
void HealthDiagnosticValue (HealthDiagnosticValue && other)
HealthDiagnosticValue & operator= (HealthDiagnosticValue && other)
void HealthDiagnosticValue (const HealthDiagnosticValue & other)
HealthDiagnosticValue & operator= (const HealthDiagnosticValue & other)
bool operator== (const HealthDiagnosticValue & other)
bool operator!= (const HealthDiagnosticValue & other)
bool IsUnknown ()
::fuchsia_driver_framework::HealthDiagnosticValue::Tag Which ()
HealthDiagnosticValue WithStringValue (::std::string val)
const ::fidl::internal::UnionMemberView<1, Storage_> string_value ()
::fidl::internal::UnionMemberView<1, Storage_> string_value ()
HealthDiagnosticValue & string_value (::std::string value)
Sets the union to hold the string_value member.
HealthDiagnosticValue WithIntValue (int64_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> int_value ()
::fidl::internal::UnionMemberView<2, Storage_> int_value ()
HealthDiagnosticValue & int_value (int64_t value)
Sets the union to hold the int_value member.
HealthDiagnosticValue WithUintValue (uint64_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> uint_value ()
::fidl::internal::UnionMemberView<3, Storage_> uint_value ()
HealthDiagnosticValue & uint_value (uint64_t value)
Sets the union to hold the uint_value member.
HealthDiagnosticValue WithBoolValue (bool val)
const ::fidl::internal::UnionMemberView<4, Storage_> bool_value ()
::fidl::internal::UnionMemberView<4, Storage_> bool_value ()
HealthDiagnosticValue & bool_value (bool value)
Sets the union to hold the bool_value member.
HealthDiagnosticValue WithTimestamp (::fidl::basic_time<((zx_clock_t)1)> val)
HealthDiagnosticValue WithTimestamp (::fidl::basic_time<((zx_clock_t)1)> val)
const ::fidl::internal::UnionMemberView<5, Storage_> timestamp ()
::fidl::internal::UnionMemberView<5, Storage_> timestamp ()
HealthDiagnosticValue & timestamp (::fidl::basic_time<((zx_clock_t)1)> value)
Boot-timeline instant, e.g. time of the last interrupt or input report.
HealthDiagnosticValue & timestamp (::fidl::basic_time<((zx_clock_t)1)> value)
Boot-timeline instant, e.g. time of the last interrupt or input report.
void HealthDiagnosticValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kStringValue | 1 |
0x1 |
| kIntValue | 2 |
0x2 |
| kUintValue | 3 |
0x3 |
| kBoolValue | 4 |
0x4 |
| kTimestamp | 5 |
0x5 |
| _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 1212 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits