MCPcopy Create free account
hub / github.com/assimp/assimp / DumpSceneToAssxml

Function DumpSceneToAssxml

code/AssetLib/Assxml/AssxmlFileWriter.cpp:652–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650} // end of namespace AssxmlFileWriter
651
652void DumpSceneToAssxml(
653 const char *pFile, const char *cmd, IOSystem *pIOSystem,
654 const aiScene *pScene, bool shortened) {
655 std::unique_ptr<IOStream> file(pIOSystem->Open(pFile, "wt"));
656 if (!file) {
657 throw std::runtime_error("Unable to open output file " + std::string(pFile) + '\n');
658 }
659
660 AssxmlFileWriter::WriteDump(pFile, cmd, pScene, file.get(), shortened);
661}
662
663} // end of namespace Assimp

Callers 2

Assimp_DumpFunction · 0.85
ExportSceneAssxmlFunction · 0.85

Calls 3

WriteDumpFunction · 0.85
OpenMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected