MCPcopy Create free account
hub / github.com/audacity/audacity / writePrefs

Function writePrefs

libraries/lib-builtin-effects/NoiseReductionBase.cpp:332–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330
331template <typename StructureType, typename FieldType>
332void writePrefs(
333 const StructureType* structure, const wxString& prefix,
334 const PrefsTableEntry<StructureType, FieldType>* fields, size_t numFields)
335{
336 for (size_t ii = 0; ii < numFields; ++ii)
337 {
338 const PrefsTableEntry<StructureType, FieldType>& entry = fields[ii];
339 gPrefs->Write(prefix + entry.name, structure->*(entry.field));
340 }
341}
342} // namespace
343
344bool NoiseReductionBase::Settings::PrefsIO(bool read)

Callers 1

PrefsIOMethod · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected