class NodePropertyValue
Defined at line 1001 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h
Public Methods
void NodePropertyValue (NodePropertyValue && other)
NodePropertyValue & operator= (NodePropertyValue && other)
void NodePropertyValue (const NodePropertyValue & other)
NodePropertyValue & operator= (const NodePropertyValue & other)
bool operator== (const NodePropertyValue & other)
bool operator!= (const NodePropertyValue & other)
bool IsUnknown ()
::fuchsia_driver_framework::NodePropertyValue::Tag Which ()
NodePropertyValue WithIntValue (uint32_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> int_value ()
::fidl::internal::UnionMemberView<1, Storage_> int_value ()
NodePropertyValue & int_value (uint32_t value)
Sets the union to hold the int_value member.
NodePropertyValue WithStringValue (::std::string val)
const ::fidl::internal::UnionMemberView<2, Storage_> string_value ()
::fidl::internal::UnionMemberView<2, Storage_> string_value ()
NodePropertyValue & string_value (::std::string value)
Sets the union to hold the string_value member.
NodePropertyValue WithBoolValue (bool val)
const ::fidl::internal::UnionMemberView<3, Storage_> bool_value ()
::fidl::internal::UnionMemberView<3, Storage_> bool_value ()
NodePropertyValue & bool_value (bool value)
Sets the union to hold the bool_value member.
NodePropertyValue WithEnumValue (::std::string val)
const ::fidl::internal::UnionMemberView<4, Storage_> enum_value ()
::fidl::internal::UnionMemberView<4, Storage_> enum_value ()
NodePropertyValue & enum_value (::std::string value)
Sets the union to hold the enum_value member.
void NodePropertyValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kIntValue | 1 |
| kStringValue | 2 |
| kBoolValue | 3 |
| kEnumValue | 4 |
| _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 1013 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits