#include <OgreArchive.h>
Inheritance diagram for Ogre::Archive:
Public Member Functions | |
Archive (const String &name, const String &archType) | |
Constructor - don't call direct, used by ArchiveFactory. | |
virtual | ~Archive () |
Default destructor. | |
const String & | getName (void) const |
Get the name of this archive. | |
virtual bool | isCaseSensitive (void) const=0 |
Returns whether this archive is case sensitive in the way it matches files. | |
virtual void | load ()=0 |
Loads the archive. | |
virtual void | unload ()=0 |
Unloads the archive. | |
virtual DataStreamPtr | open (const String &filename) const=0 |
Open a stream on a given file. | |
virtual StringVectorPtr | list (bool recursive=true)=0 |
List all file names in the archive. | |
virtual FileInfoListPtr | listFileInfo (bool recursive=true)=0 |
List all files in the archive with accompanying information. | |
virtual StringVectorPtr | find (const String &pattern, bool recursive=true)=0 |
Find all file names matching a given pattern in this archive. | |
virtual bool | exists (const String &filename)=0 |
Find out if the named file exists (note: fully qualified filename required). | |
virtual FileInfoListPtr | findFileInfo (const String &pattern, bool recursive=true)=0 |
Find all files matching a given pattern in this archive and get some detailed information about them. | |
const String & | getType (void) const |
Return the type code of this Archive. | |
Protected Attributes | |
String | mName |
Archive name. | |
String | mType |
Archive type code. |
Definition at line 76 of file OgreArchive.h.
|
Constructor - don't call direct, used by ArchiveFactory.
Definition at line 88 of file OgreArchive.h. References Ogre::String. |
|
Default destructor.
Definition at line 93 of file OgreArchive.h. |
|
Find out if the named file exists (note: fully qualified filename required).
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Find all file names matching a given pattern in this archive.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Find all files matching a given pattern in this archive and get some detailed information about them.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Get the name of this archive.
Definition at line 96 of file OgreArchive.h. References Ogre::String. |
|
Return the type code of this Archive.
Definition at line 172 of file OgreArchive.h. References Ogre::String. |
|
Returns whether this archive is case sensitive in the way it matches files.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
List all file names in the archive.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
List all files in the archive with accompanying information.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Loads the archive.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Open a stream on a given file.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Unloads the archive.
Implemented in Ogre::FileSystemArchive, and Ogre::ZipArchive. |
|
Archive name.
Definition at line 80 of file OgreArchive.h. |
|
Archive type code.
Definition at line 82 of file OgreArchive.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:38:06 2006