EDoc::DirectoryArchive Class Reference

#include <include/EDoc/DirectoryArchive.h>

Inheritance diagram for EDoc::DirectoryArchive:

EDoc::ArchiveIFace

Detailed Description

Represents an archive of data files within a directory.

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< ManagedFileReadExtractAll (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().


Member Function Documentation

EDoc::DirectoryArchive::HandlesType ( const ManagedFile arch_filename  )  [virtual]

See EDoc::ArchiveIFace::HandlesType().

Note:
EDoc++ data included.

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().

Note:
EDoc++ data included.
Exceptions:
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().

Note:
EDoc++ data included.

Implements EDoc::ArchiveIFace.

Definition at line 118 of file DirectoryArchive.cpp.

References EDoc::ManagedFile::GetIdentifier(), and EDoc::ManagedFile::GetWorkFileName().


The documentation for this class was generated from the following files:
Generated on Tue Jan 20 18:26:08 2009 for EDoc-0.2.1 by  doxygen 1.5.1