class ConfigField
Defined at line 406 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Declares a single config field (key + type)
Public Methods
void ConfigField ()
Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ConfigField (const ConfigField & other)
Defined at line 409 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ConfigField (ConfigField && other)
Defined at line 411 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::ConfigField> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::ConfigField> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ConfigField>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & key ()
(Required) The identifier for this config field.
This key will be used to match overrides.
bool has_key ()
::fuchsia_component_decl::wire::ConfigType & type ()
(Required) The type of config values. Config values are verified
against this layout at build time and run time.
bool has_type ()
::fuchsia_component_decl::wire::ConfigMutability & mutability ()
Allowed sources for runtime overrides of this field's value.
bool has_mutability ()
ConfigField & operator= (const ConfigField & other)
Defined at line 410 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
ConfigField & operator= (ConfigField && other)
Defined at line 412 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
ConfigField & set_key (::fidl::ObjectView< ::fidl::StringView> elem)
ConfigField & set_key (std::nullptr_t )
ConfigField & clear_key ()
ConfigField & set_type (::fidl::ObjectView< ::fuchsia_component_decl::wire::ConfigType> elem)
ConfigField & set_type (std::nullptr_t )
ConfigField & clear_type ()
ConfigField & set_mutability (::fuchsia_component_decl::wire::ConfigMutability elem)
ConfigField & clear_mutability ()
void ConfigField (::fidl::AnyArena & allocator)
void ConfigField (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ConfigField>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ConfigField>> && frame_ptr)
void ~ConfigField ()
Defined at line 414 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder