globals.cpp File Reference

#include <prefix/dtcoreprefix-src.h>
#include <dtUtil/fileutils.h>
#include <dtUtil/stringutils.h>
#include <dtUtil/log.h>
#include <dtUtil/macros.h>
#include <dtCore/globals.h>
#include <osgDB/FileUtils>

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::FindFileInPathList (const std::string &fileName)
 Searches for a file in the list of paths found by calling dtCore::GetDataFilePathList().
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::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).

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