The ZipWriter class This is an important helper class implementation for the store and retrieval system of persistent objects in FreeCAD. More...
#include <Writer.h>
Public Member Functions | |
void | putNextEntry (const char *str) |
void | setComment (const char *str) |
void | setLevel (int level) |
virtual std::ostream & | Stream (void) |
virtual void | writeFiles (void) |
process the requested file storing | |
ZipWriter (std::ostream &) | |
ZipWriter (const char *FileName) | |
~ZipWriter () |
The ZipWriter class This is an important helper class implementation for the store and retrieval system of persistent objects in FreeCAD.
Definition at line 118 of file Writer.h.
ZipWriter::ZipWriter | ( | const char * | FileName | ) |
Definition at line 171 of file Writer.cpp.
ZipWriter::ZipWriter | ( | std::ostream & | os | ) |
Definition at line 184 of file Writer.cpp.
ZipWriter::~ZipWriter | ( | ) |
Definition at line 210 of file Writer.cpp.
References zipios::ZipOutputStream::close().
void Base::ZipWriter::putNextEntry | ( | const char * | str | ) | [inline] |
Definition at line 132 of file Writer.h.
Referenced by App::Document::exportObjects(), and App::Document::save().
void Base::ZipWriter::setComment | ( | const char * | str | ) | [inline] |
Definition at line 130 of file Writer.h.
Referenced by App::Document::save().
void Base::ZipWriter::setLevel | ( | int | level | ) | [inline] |
Definition at line 131 of file Writer.h.
Referenced by App::Document::save().
virtual std::ostream& Base::ZipWriter::Stream | ( | void | ) | [inline, virtual] |
Implements Base::Writer.
Definition at line 128 of file Writer.h.
Referenced by App::Document::exportObjects().
void ZipWriter::writeFiles | ( | void | ) | [virtual] |
process the requested file storing
Implements Base::Writer.
Definition at line 197 of file Writer.cpp.
References Base::Writer::FileList, Base::Writer::FileEntry::FileName, Base::Writer::FileEntry::Object, zipios::ZipOutputStream::putNextEntry(), and Base::Persistence::SaveDocFile().
Referenced by App::Document::exportObjects(), and App::Document::save().