MediaPathManager Class Reference

#include <GenUtils.h>

List of all members.

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 > 

Detailed Description

Definition at line 70 of file GenUtils.h.

Member Function Documentation

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]

Definition at line 194 of file GenUtils.cpp.

References dataPaths.

bool MediaPathManager::registerPath ( const TiXmlElement *  MediaPathNode  )  [static]

Definition at line 164 of file GenUtils.cpp.

Referenced by GuiWrapper::Init().

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]

Definition at line 189 of file GenUtils.cpp.

References dataPaths.

void MediaPathManager::printAllPaths (  )  [static]

Definition at line 201 of file GenUtils.cpp.

References dataPaths.

Member Data Documentation

std::vector< std::string > MediaPathManager::dataPaths [static, private]

Definition at line 83 of file GenUtils.h.

Referenced by getPathAt(), getPathCount(), lookUpMediaPath(), printAllPaths(), and registerPath().

The documentation for this class was generated from the following files:
Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3