MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / GetListIfExists

Method GetListIfExists

FEXCore/Source/Interface/Config/Config.cpp:494–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492
493template<typename T>
494void Value<T>::GetListIfExists(FEXCore::Config::ConfigOption Option, DefaultValues::Type::StringArrayType* List) {
495 auto Value = FEXCore::Config::All(Option);
496 List->clear();
497 if (Value) {
498 *List = **Value;
499 }
500}
501template void Value<DefaultValues::Type::StringArrayType>::GetListIfExists(FEXCore::Config::ConfigOption Option,
502 DefaultValues::Type::StringArrayType* List);
503} // namespace FEXCore::Config

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80
AllFunction · 0.70

Tested by

no test coverage detected