gz/common/SystemPaths.hh
Go to the documentation of this file.
Functions to handle getting system paths, keeps track of:
Definition: gz/common/SystemPaths.hh:53
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....
std::string FindFile(const std::string &_filename, const bool _searchLocalPath=true, const bool _verbose=true) const
Find a file in the set search paths (not recursive)
void AddPluginPaths(const std::string &_path)
Add colon (semicolon on windows) delimited paths to plugins.
std::string FindFileURI(const ignition::common::URI &_uri) const
Find a file or path using a URI. If URI is not an absolute path, the URI's path will be matched again...
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....
A complete URI which has the following components:
Definition: gz/common/URI.hh:408
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: gz/common/SuppressWarning.hh:65
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/common/SuppressWarning.hh:68
Forward declarations for the common classes.
STL namespace.