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

Method Copy

vkconfig_core/setting_bool.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61void SettingDataBool::Reset() { this->value = this->meta->default_value; }
62
63void SettingDataBool::Copy(const SettingData* data) {
64 if (data->type != this->type) return;
65
66 const SettingDataBool* setting_data = static_cast<const SettingDataBool*>(data);
67 this->value = setting_data->value;
68}
69
70bool SettingDataBool::Load(const QJsonObject& json_setting) {
71 this->value = ReadBoolValue(json_setting, "value");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected