MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / Load

Method Load

vkconfig_core/setting_filesystem.cpp:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 : SettingMeta(layer, key, type) {}
28
29bool SettingMetaFilesystem::Load(const QJsonObject& json_setting) {
30 this->default_value = ReadStringValue(json_setting, "default");
31 if (json_setting.value("filter") != QJsonValue::Undefined) {
32 this->filter = ReadStringValue(json_setting, "filter");
33 }
34 if (json_setting.value("format") != QJsonValue::Undefined) {
35 this->format = ReadStringValue(json_setting, "format");
36 }
37 return true;
38}
39
40std::string SettingMetaFilesystem::Export(ExportMode export_mode) const {
41 switch (export_mode) {

Callers

nothing calls this directly

Calls 4

ReadStringValueFunction · 0.85
ReadBoolValueFunction · 0.85

Tested by

no test coverage detected