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

Method Write

libraries/lib-xml/XMLWriter.cpp:403–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403void XMLFileWriter::Write(const wxString &data)
404// may throw
405{
406 if (!wxFFile::Write(data, wxConvUTF8) || Error())
407 {
408 // When writing fails, we try to close the file before throwing the
409 // exception, so it can at least be deleted.
410 wxFFile::Close();
411 ThrowException( GetName(), mCaption );
412 }
413}
414
415///
416/// XMLStringWriter class

Callers 15

SaveSettingsMethod · 0.45
SaveFXBMethod · 0.45
SaveFXPMethod · 0.45
SaveSettingsMethod · 0.45
GetPresetMethod · 0.45
GetDefaultPresetMethod · 0.45
SaveSettingsMethod · 0.45
VisitItemsFunction · 0.45
operator ()Method · 0.45
OnSettingResetEndMethod · 0.45
GetModuleStatusMethod · 0.45

Calls 6

WriteFunction · 0.85
AppendDataMethod · 0.80
ErrorFunction · 0.50
AppendClass · 0.50
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected