![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Provides methods to find out where the Ogre config files are stored and where logs and settings files should be written to. More...
#include <OgreFileSystemLayer.h>
Static Public Member Functions | |
static bool | createDirectory (const Ogre::String &name) |
Create a directory. | |
static bool | fileExists (const Ogre::String &path) |
Test if the given file exists. | |
static bool | removeDirectory (const Ogre::String &name) |
Delete a directory. | |
static bool | removeFile (const Ogre::String &path) |
Delete a file. | |
static bool | renameFile (const Ogre::String &oldpath, const Ogre::String &newpath) |
Rename a file. | |
Provides methods to find out where the Ogre config files are stored and where logs and settings files should be written to.
|
inline |
Creates a concrete platform-dependent implementation of FileSystemLayer.
subdir | A subdirectory inside the user's path to distinguish between different Ogre releases. |
|
static |
Create a directory.
|
static |
Test if the given file exists.
|
inline |
Search for the given config file in the user's home path.
If it can't be found there, the function falls back to the system-wide install path for Ogre config files. (Usually the same place where the SampleBrowser resides, or a special config path above that path.)
filename | The config file name (without path) |
References OGRE_BUILD_SUFFIX.
|
inline |
Find a path where the given filename can be written to.
This path will usually be in the user's home directory. This function should be used for any output like logs and graphics settings.
filename | Name of the file. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
static |
Delete a directory.
Should be empty
|
static |
Delete a file.
|
static |
Rename a file.
|
inline |
|
inline |