SystemPaths.hh
Go to the documentation of this file.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: SuppressWarning.hh:64
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: SuppressWarning.hh:67
Functions to handle getting system paths, keeps track of:
Definition: SystemPaths.hh:52
std::string FindFileURI(const std::string &_uri) const
Find a file or path using a URI.
void AddSearchPathSuffix(const std::string &_suffix)
add _suffix to the list of path search suffixes
const std::list< std::string > & PluginPaths()
Get the plugin paths.
std::string LogPath() const
Get the log path. If IGN_LOG_PATH environment variable is set, then this path is used....
void AddPluginPaths(const std::string &_path)
Add colon (semicolon on windows) delimited paths to plugins.
std::string FindFile(const std::string &_filename, const bool _searchLocalPath=true) const
Find a file in the set search paths (not recursive)
std::string FindSharedLibrary(const std::string &_libName)
Find a shared library by name in the plugin paths.
std::string FilePathEnv() const
Get the file path environment variable in use. The environment variable contains a set of colon (semi...
void ClearPluginPaths()
clear out SystemPaths::pluginPaths
const std::list< std::string > & FilePaths()
Get the file paths.
void AddFilePaths(const std::string &_path)
Add colon (semicolon on windows) delimited paths to find files. These paths will be used with the Fin...
void SetPluginPathEnv(const std::string &_env)
Set the plugin path environment variable to use.
void SetFilePathEnv(const std::string &_env)
Set the file path environment variable to use, and clears any previously set file paths....
std::string FindFileURI(const URI &_uri) const
Find a file or path using a URI.
Forward declarations for the common classes.
STL namespace.