MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / writeFiles

Method writeFiles

src/Base/Writer.cpp:369–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void ZipWriter::writeFiles()
370{
371 // use a while loop because it is possible that while
372 // processing the files new ones can be added
373 size_t index = 0;
374 while (index < FileList.size()) {
375 FileEntry entry = FileList[index];
376 putNextEntry(entry.FileName.c_str());
377 indent = 0;
378 indBuf[0] = 0;
379 entry.Object->SaveDocFile(*this);
380 index++;
381 }
382}
383
384ZipWriter::~ZipWriter()
385{

Callers 4

exportObjectsMethod · 0.45
saveToFileMethod · 0.45
dumpToStreamMethod · 0.45

Calls 7

substrMethod · 0.80
createDirectoryMethod · 0.80
sizeMethod · 0.45
c_strMethod · 0.45
SaveDocFileMethod · 0.45
closeMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected