#include <GenUtils.h>
Static Public Member Functions | |
| static const std::string | lookUpMediaPath (const std::string &path) |
| static const std::string | getPathAt (int index) |
| static bool | registerPath (const TiXmlElement *MediaPathNode) |
| static bool | registerPath (const std::string &path) |
| static int | getPathCount () |
| static void | printAllPaths () |
Static Private Attributes | |
| static std::vector < std::string > | dataPaths |
Definition at line 70 of file GenUtils.h.
| const std::string MediaPathManager::lookUpMediaPath | ( | const std::string & | path | ) | [static] |
Definition at line 133 of file GenUtils.cpp.
References dataPaths.
Referenced by Image::load(), Texture::load2D(), GUIPanel::loadXMLSettings(), and GUIFont::loadXMLSettings().
| const std::string MediaPathManager::getPathAt | ( | int | index | ) | [static] |
| bool MediaPathManager::registerPath | ( | const TiXmlElement * | MediaPathNode | ) | [static] |
| bool MediaPathManager::registerPath | ( | const std::string & | path | ) | [static] |
Definition at line 173 of file GenUtils.cpp.
References dataPaths, Logger::writeErrorLog(), and Logger::writeInfoLog().
| int MediaPathManager::getPathCount | ( | ) | [static] |
| void MediaPathManager::printAllPaths | ( | ) | [static] |
std::vector< std::string > MediaPathManager::dataPaths [static, private] |
Definition at line 83 of file GenUtils.h.
Referenced by getPathAt(), getPathCount(), lookUpMediaPath(), printAllPaths(), and registerPath().
1.5.3