| 332 | } |
| 333 | |
| 334 | void PropertyPostDataObject::Restore(Base::XMLReader& reader) |
| 335 | { |
| 336 | reader.readElement("Data"); |
| 337 | if (!reader.hasAttribute("file")) { |
| 338 | return; |
| 339 | } |
| 340 | |
| 341 | std::string file(reader.getAttribute<const char*>("file")); |
| 342 | if (!file.empty()) { |
| 343 | // initiate a file read |
| 344 | reader.addFile(file.c_str(), this); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | void add_to_zip(Base::FileInfo path, int zip_path_idx, zipios::ZipOutputStream& ZipWriter) |
| 349 | { |
nothing calls this directly
no test coverage detected