OpenMW
|
#include <fixedpath.hpp>
Public Types | |
typedef P | PathType |
Public Member Functions | |
FixedPath (const std::string &application_name) | |
Path constructor. | |
const boost::filesystem::path & | getUserConfigPath () const |
Return path pointing to the user local configuration directory. | |
const boost::filesystem::path & | getUserDataPath () const |
const boost::filesystem::path & | getGlobalConfigPath () const |
Return path pointing to the global (system) configuration directory. | |
const boost::filesystem::path & | getLocalPath () const |
Return path pointing to the directory where application was started. | |
const boost::filesystem::path & | getInstallPath () const |
const boost::filesystem::path & | getGlobalDataPath () const |
const boost::filesystem::path & | getCachePath () const |
Private Attributes | |
PathType | mPath |
boost::filesystem::path | mUserConfigPath |
boost::filesystem::path | mUserDataPath |
boost::filesystem::path | mGlobalConfigPath |
boost::filesystem::path | mLocalPath |
boost::filesystem::path | mGlobalDataPath |
boost::filesystem::path | mCachePath |
boost::filesystem::path | mInstallPath |
typedef P Files::FixedPath< P >::PathType |
Files::FixedPath< P >::FixedPath | ( | const std::string & | application_name | ) | [inline] |
Path constructor.
[in] | application_name | - Name of the application |
const boost::filesystem::path& Files::FixedPath< P >::getCachePath | ( | ) | const [inline] |
const boost::filesystem::path& Files::FixedPath< P >::getGlobalConfigPath | ( | ) | const [inline] |
Return path pointing to the global (system) configuration directory.
const boost::filesystem::path& Files::FixedPath< P >::getGlobalDataPath | ( | ) | const [inline] |
const boost::filesystem::path& Files::FixedPath< P >::getInstallPath | ( | ) | const [inline] |
const boost::filesystem::path& Files::FixedPath< P >::getLocalPath | ( | ) | const [inline] |
Return path pointing to the directory where application was started.
const boost::filesystem::path& Files::FixedPath< P >::getUserConfigPath | ( | ) | const [inline] |
Return path pointing to the user local configuration directory.
const boost::filesystem::path& Files::FixedPath< P >::getUserDataPath | ( | ) | const [inline] |
boost::filesystem::path Files::FixedPath< P >::mCachePath [private] |
boost::filesystem::path Files::FixedPath< P >::mGlobalConfigPath [private] |
Global path
boost::filesystem::path Files::FixedPath< P >::mGlobalDataPath [private] |
Global application data path
boost::filesystem::path Files::FixedPath< P >::mInstallPath [private] |
boost::filesystem::path Files::FixedPath< P >::mLocalPath [private] |
It is the same directory where application was run
PathType Files::FixedPath< P >::mPath [private] |
boost::filesystem::path Files::FixedPath< P >::mUserConfigPath [private] |
User path
boost::filesystem::path Files::FixedPath< P >::mUserDataPath [private] |