MCPcopy Create free account
hub / github.com/NtQuery/Scylla / readXmlFile

Method readXmlFile

Scylla/TreeImportExport.cpp:68–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool TreeImportExport::readXmlFile(TiXmlDocument& doc, const WCHAR * xmlFilePath)
69{
70 bool success = false;
71
72 FILE * pFile = 0;
73 if (_wfopen_s(&pFile, xmlFilePath, L"rb") == 0)
74 {
75 success = doc.LoadFile(pFile);
76 fclose (pFile);
77 }
78
79 return success;
80}
81
82bool TreeImportExport::saveXmlToFile(const TiXmlDocument& doc, const WCHAR * xmlFilePath)
83{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected