class ConfigValueSource
Defined at line 722 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Strategies available for resolving configuration values.
Public Members
static const fidl_type_t * FidlType
Public Methods
void ConfigValueSource ()
void ~ConfigValueSource ()
void ConfigValueSource (ConfigValueSource && )
ConfigValueSource & operator= (ConfigValueSource && )
ConfigValueSource WithPackagePath (::std::string && )
ConfigValueSource WithCapabilities (::fuchsia::component::decl::ConfigSourceCapabilities && )
::std::unique_ptr<ConfigValueSource> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ConfigValueSource * value, size_t offset)
zx_status_t Clone (ConfigValueSource * result)
bool has_invalid_tag ()
Defined at line 750 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool is_package_path ()
Defined at line 754 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string & package_path ()
(Required) The path within the component's package at which to find config value files.
Defined at line 757 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & package_path ()
(Required) The path within the component's package at which to find config value files.
Defined at line 763 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool is_capabilities ()
Defined at line 769 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::ConfigSourceCapabilities & capabilities ()
If this is set, then all of the config values are found through CML files.
Defined at line 772 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::component::decl::ConfigSourceCapabilities & capabilities ()
If this is set, then all of the config values are found through CML files.
Defined at line 778 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
ConfigValueSource & set_package_path (::std::string value)
ConfigValueSource & set_capabilities (::fuchsia::component::decl::ConfigSourceCapabilities value)
ConfigValueSource & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::component::decl::ConfigValueSource::Tag Which ()
Defined at line 785 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/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 800 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 803 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kPackagePath | 1 |
| kCapabilities | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 735 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Friends
class Equality