FIFE::ZipProvider Class Reference

#include <zipprovider.h>

Inheritance diagram for FIFE::ZipProvider:
Inheritance graph
[legend]
Collaboration diagram for FIFE::ZipProvider:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isReadable (const std::string &file) const
VFSSourcecreateSource (const std::string &file) const

Detailed Description

A VFS provider for Zip archives.

See also:
FIFE::VFSSourceProvider

Definition at line 42 of file zipprovider.h.


Member Function Documentation

FIFE::VFSSource * FIFE::ZipProvider::createSource ( const std::string &  file  )  const [virtual]

Create a new instance of a VFSSource initialized with the given file

Parameters:
file the filename to open (the archive-file)
Returns:
the new VFSSource

Implements FIFE::VFSSourceProvider.

Definition at line 53 of file zipprovider.cpp.

References isReadable().

bool FIFE::ZipProvider::isReadable ( const std::string &  file  )  const [virtual]

Check if a given file is readable for this VFSSource

Parameters:
file the filename to check
Returns:
true if readable, false otherwise

Implements FIFE::VFSSourceProvider.

Definition at line 37 of file zipprovider.cpp.

References FIFE::VFS::exists().

Referenced by createSource().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208