MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / SaveFile

Method SaveFile

Engine/source/persistence/taml/fsTinyXml.cpp:196–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196bool VfsXMLDocument::SaveFile(FileStream& stream)
197{
198 // Clear any error from the last save, otherwise it will get reported
199 // for *this* call.
200 ClearError();
201 VfsXMLPrinter printer(stream, false, 0);
202 PrettyXMLPrinter prettyPrinter(printer);
203 Print(&prettyPrinter);
204 return !Error();
205}
206
207bool VfsXMLDocument::SaveFile(const char* pFilename)
208{

Callers 6

writeFileFunction · 0.45
saveFileMethod · 0.45
exportToColladaMethod · 0.45
generateTamlSchemaMethod · 0.45
writeMethod · 0.45
acceptMethod · 0.45

Calls 5

expandScriptFilenameFunction · 0.85
openMethod · 0.65
closeMethod · 0.65
ErrorEnum · 0.50
warnfFunction · 0.50

Tested by

no test coverage detected