DataPaths Class Reference
Static class for accessing paths to data directories.
More...
#include <Application/DataPaths.h>
List of all members.
Static Public Member Functions |
static void | Load (const char *fileName) |
| Loads and parses an xml file extracting paths.
|
static const std::string & | GetPath (const char *name) |
| Gets the specified path.
|
Detailed Description
Static class for accessing paths to data directories.
Member Function Documentation
const std::string & DataPaths::GetPath |
( |
const char * |
name |
) |
[static] |
Gets the specified path.
- Parameters:
-
[in] | name | the name of the data path to retrieve. |
- Exceptions:
-
| InvalidArgumentError | if the given name does not exist. |
void DataPaths::Load |
( |
const char * |
fileName |
) |
[static] |
Loads and parses an xml file extracting paths.
- Parameters:
-
[in] | fileName | the name of the xml file containing data path information. |
The documentation for this class was generated from the following files: