#include <include/EDoc/DirectoryArchive.h>
Inheritance diagram for EDoc::DirectoryArchive:
This is used to provide a consistent method for looking for files recursivley within a directory. EDoc will treat a directory like a zip file in that it is a filesystem element that contains a number of files.
Definition at line 33 of file DirectoryArchive.h.
Public Member Functions | |
virtual bool | HandlesType (const ManagedFile &arch_filename) |
See EDoc::ArchiveIFace::HandlesType(). | |
virtual std::list< ManagedFile > | ReadExtractAll (const ManagedFile &arch_filename) |
See EDoc::ArchiveIFace::ReadExtractAll(). | |
virtual ManagedFile | WriteOpen (const ManagedFile &arch_filename, std::string item_filename="default.edc") |
See EDoc::ArchiveIFace::WriteOpen(). |
EDoc::DirectoryArchive::HandlesType | ( | const ManagedFile & | arch_filename | ) | [virtual] |
See EDoc::ArchiveIFace::HandlesType().
Implements EDoc::ArchiveIFace.
Definition at line 107 of file DirectoryArchive.cpp.
References EDoc::ManagedFile::GetWorkFileName(), and EDoc::IsDirectory().
EDoc::DirectoryArchive::ReadExtractAll | ( | const ManagedFile & | arch_filename | ) | [virtual] |
See EDoc::ArchiveIFace::ReadExtractAll().
EDoc::FileIOException |
|
Implements EDoc::ArchiveIFace.
Definition at line 112 of file DirectoryArchive.cpp.
References EDoc::GetAllFiles().
EDoc::DirectoryArchive::WriteOpen | ( | const ManagedFile & | arch_filename, | |
std::string | item_filename = "default.edc" | |||
) | [virtual] |
See EDoc::ArchiveIFace::WriteOpen().
Implements EDoc::ArchiveIFace.
Definition at line 118 of file DirectoryArchive.cpp.
References EDoc::ManagedFile::GetIdentifier(), and EDoc::ManagedFile::GetWorkFileName().