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

Method Copy

vkconfig_core/setting_string.cpp:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void SettingDataString::Copy(const SettingData* data) {
74 if (data->type != this->type) return;
75
76 const SettingDataString* setting_data = static_cast<const SettingDataString*>(data);
77 this->value = setting_data->value;
78}
79
80bool SettingDataString::Load(const QJsonObject& json_setting) {
81 this->value = ReadStringValue(json_setting, "value");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected