| 650 | } // end of namespace AssxmlFileWriter |
| 651 | |
| 652 | void 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 |
no test coverage detected