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

Method Export

vkconfig_core/setting_float.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63std::string SettingMetaFloat::Export(ExportMode export_mode) const {
64 (void)export_mode;
65
66 const std::string float_format = this->GetFloatFormat();
67
68 return format(float_format.c_str(), this->default_value);
69}
70
71bool SettingMetaFloat::Equal(const SettingMeta& other) const {
72 if (!SettingMeta::Equal(other)) return false;

Callers

nothing calls this directly

Calls 4

GetFloatFormatMethod · 0.95
IsValidMethod · 0.95
GetCodeTypeStringFunction · 0.85
formatFunction · 0.70

Tested by

no test coverage detected