class ParameterValue
Defined at line 63 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 93 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
bool is_float_value ()
Defined at line 97 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
double & float_value ()
Defined at line 99 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const double & float_value ()
Defined at line 104 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
bool is_int_value ()
Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
int64_t & int_value ()
Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const int64_t & int_value ()
Defined at line 117 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
bool is_string_value ()
Defined at line 123 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 125 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
const ::std::string & string_value ()
Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
::fuchsia::scheduler::ParameterValue::Tag Which ()
Defined at line 137 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 151 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 154 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 77 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h
Friends
class Equality