#include <OgreFileSystem.h>
Inheritance diagram for Ogre::FileSystemArchive:

Public Member Functions | |||||||
| FileSystemArchive (const String &name, const String &archType) | |||||||
| ~FileSystemArchive () | |||||||
| bool | isCaseSensitive (void) const | ||||||
| | |||||||
| void | load () | ||||||
| |||||||
| void | unload () | ||||||
| |||||||
| DataStreamPtr | open (const String &filename) const | ||||||
| |||||||
| StringVectorPtr | list (bool recursive=true) | ||||||
| |||||||
| FileInfoListPtr | listFileInfo (bool recursive=true) | ||||||
| |||||||
| StringVectorPtr | find (const String &pattern, bool recursive=true) | ||||||
| |||||||
| FileInfoListPtr | findFileInfo (const String &pattern, bool recursive=true) | ||||||
| |||||||
| bool | exists (const String &filename) | ||||||
| | |||||||
| const String & | getName (void) const | ||||||
| Get the name of this archive. | |||||||
| const String & | getType (void) const | ||||||
| Return the type code of this Archive. | |||||||
Protected Types | |||||||
| typedef std::deque< String > | DirectoryStack | ||||||
| Directory stack of previous directories. | |||||||
Protected Member Functions | |||||||
| void | findFiles (const String &pattern, bool recursive, StringVector *simpleList, FileInfoList *detailList, const String ¤tDir="") | ||||||
| Utility method to retrieve all files in a directory matching pattern. | |||||||
| void | changeDirectory (const String &dir) const | ||||||
| Utility method to change the current directory. | |||||||
| void | pushDirectory (const String &dir) const | ||||||
| Utility method to change directory and push the current directory onto a stack. | |||||||
| void | popDirectory (void) const | ||||||
| Utility method to pop a previous directory off the stack and change to it. | |||||||
Protected Attributes | |||||||
| String | mBasePath | ||||||
| Base path; actually the same as mName, but for clarity. | |||||||
| DirectoryStack | mDirectoryStack | ||||||
| char | mTmpPath [OGRE_MAX_PATH] | ||||||
| temporary C-string to retrieve paths | |||||||
| String | mName | ||||||
| Archive name. | |||||||
| String | mType | ||||||
| Archive type code. | |||||||
Definition at line 38 of file OgreFileSystem.h.
|
|
Directory stack of previous directories.
Definition at line 47 of file OgreFileSystem.h. |
|
||||||||||||
|
|
|
|
|
|
|
Utility method to change the current directory.
|
|
|
Implements Ogre::Archive. |
|
||||||||||||
|
Implements Ogre::Archive. |
|
||||||||||||
|
Implements Ogre::Archive. |
|
||||||||||||||||||||||||
|
Utility method to retrieve all files in a directory matching pattern.
|
|
|
Get the name of this archive.
Definition at line 96 of file OgreArchive.h. |
|
|
Return the type code of this Archive.
Definition at line 172 of file OgreArchive.h. |
|
|
Implements Ogre::Archive. |
|
|
Implements Ogre::Archive. |
|
|
Implements Ogre::Archive. |
|
|
Implements Ogre::Archive. |
|
|
Implements Ogre::Archive. |
|
|
Utility method to pop a previous directory off the stack and change to it.
|
|
|
Utility method to change directory and push the current directory onto a stack.
|
|
|
Implements Ogre::Archive. |
|
|
Base path; actually the same as mName, but for clarity.
Definition at line 44 of file OgreFileSystem.h. |
|
|
Definition at line 48 of file OgreFileSystem.h. |
|
|
Archive name.
Definition at line 80 of file OgreArchive.h. |
|
|
temporary C-string to retrieve paths
Definition at line 52 of file OgreFileSystem.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 Jan 21 10:02:13 2007