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

Method Save

vkconfig_core/setting_string.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool SettingDataString::Save(QJsonObject& json_setting) const {
89 json_setting.insert("value", this->value.c_str());
90 json_setting.insert("expanded", this->expanded);
91
92 return true;
93}
94
95std::string SettingDataString::Export(ExportMode export_mode) const {
96 const std::string actual_value = this->IsValid() ? this->value : this->meta->default_value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected