class ParameterValue
Defined at line 44 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
Domain objects declarations
Public Members
static const fidl_type_t * FidlType
Public Methods
void ParameterValue ()
void ParameterValue (ParameterValue && )
ParameterValue WithFloatValue (double && )
ParameterValue WithIntValue (int64_t && )
ParameterValue WithStringValue (::std::string && )
::std::unique_ptr<ParameterValue> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ParameterValue * value, size_t offset)
zx_status_t Clone (ParameterValue * result)
ParameterValue & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()
Defined at line 74 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
bool is_float_value ()
Defined at line 78 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
double & float_value ()
Defined at line 80 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const double & float_value ()
Defined at line 85 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
bool is_int_value ()
Defined at line 91 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
int64_t & int_value ()
Defined at line 93 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const int64_t & int_value ()
Defined at line 98 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
bool is_string_value ()
Defined at line 104 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
ParameterValue & operator= (ParameterValue && )
ParameterValue & set_float_value (double value)
ParameterValue & set_int_value (int64_t value)
ParameterValue & set_string_value (::std::string value)
::std::string & string_value ()
Defined at line 106 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const ::std::string & string_value ()
Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
::fuchsia::scheduler::ParameterValue::Tag Which ()
Defined at line 118 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 132 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 135 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
void ~ParameterValue ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kFloatValue | 1 |
| kIntValue | 2 |
| kStringValue | 3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 58 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
Friends
class Equality