globals.h File Reference

#include <string>
#include <dtCore/export.h>

Namespaces

namespace  dtCore

Functions

DT_CORE_EXPORT void dtCore::SetDataFilePathList (const std::string &pathList)
 Set the list of data file paths.
DT_CORE_EXPORT std::string dtCore::GetDataFilePathList ()
 Get the list of data file paths.
DT_CORE_EXPORT std::string dtCore::GetDeltaDataPathList ()
 Get the Delta Data path list (equivalent to the DELTA_DATA environment).
DT_CORE_EXPORT std::string dtCore::GetDeltaRootPath ()
 Get the root path to Delta3D (equivalent to the DELTA_ROOT environment).
DT_CORE_EXPORT std::string dtCore::GetEnvironment (const std::string &env)
 Convienence method to get the supplied environment variable.
DT_CORE_EXPORT void dtCore::SetEnvironment (const std::string &name, const std::string &value)
 Sets an environment variable.
DT_CORE_EXPORT std::string dtCore::FindFileInPathList (const std::string &fileName)
 Searches for a file in the list of paths found by calling dtCore::GetDataFilePathList().

http://www.delta3d.org
2.0.0 generated 14 Feb 2008