MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / writeToXmlFile

Function writeToXmlFile

source/MaterialXFormat/XmlIo.cpp:356–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void writeToXmlFile(DocumentPtr doc, const FilePath& filename, const XmlWriteOptions* writeOptions)
357{
358 std::ofstream ofs(filename.asString());
359 writeToXmlStream(doc, ofs, writeOptions);
360}
361
362string writeToXmlString(DocumentPtr doc, const XmlWriteOptions* writeOptions)
363{

Callers 5

saveDocumentMethod · 0.85
loadEnvironmentLightMethod · 0.85
keyboard_eventMethod · 0.85
mainFunction · 0.85

Calls 2

writeToXmlStreamFunction · 0.85
asStringMethod · 0.45

Tested by

no test coverage detected