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

Method getString

Source/Tools/FEXConfig/Main.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135QString ConfigModel::getString(const QString& Name, bool) const {
136 auto ret = LoadedConfig->Get(NameToConfigLookup.at(Name.toStdString()));
137 if (!ret || !*ret) {
138 throw std::runtime_error("Could not find setting");
139 }
140 return QString::fromUtf8((*ret)->c_str());
141}
142
143QStringList ConfigModel::getStringList(const QString& Name, bool) const {
144 auto Values = LoadedConfig->All(NameToConfigLookup.at(Name.toStdString()));

Callers 2

generator.cppFile · 0.80
GetNamespaceAnnotationsFunction · 0.80

Calls 2

atMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected