cartobase
5.0.5
|
#include <string>
#include <list>
Go to the source code of this file.
Namespaces | |
carto | |
carto::Paths | |
Paths to configuration / shared data directories. | |
Functions | |
const std::string & | carto::Paths::home () |
User home directory. More... | |
const std::string & | carto::Paths::tempDir () |
Temporary directory used for general usage. More... | |
const std::string & | carto::Paths::memmap () |
Temporary directory used for memory mapping with copy - this directory has better be large. More... | |
const std::string & | carto::Paths::globalShared () |
The base shared directory for all cartograph / SHFJ data. More... | |
const std::string & | carto::Paths::shfjShared () |
Shared directory for SHFJ-specific data. More... | |
const std::list< std::string > & | carto::Paths::resourceSearchPath () |
Shared resource files search path. More... | |
void | carto::Paths::addResourceSearchPath (const std::string &path, bool atbeginning=false) |
std::string | carto::Paths::findResourceFile (const std::string &filename, const std::string &project="", const std::string &version="") |
Find a file in the shared resources directories, or in a personal directory. More... | |
std::list< std::string > | carto::Paths::findResourceFiles (const std::string &filename, const std::string &project="", const std::string &version="") |
Same as findResourceFile() except that it looks for every occurrence of the searched file (or directory). More... | |
const std::string & | carto::Paths::argv0 () |
argv[0], ie executable name and path; only available when a CartoApplication has been built More... | |
void | carto::Paths::setArgv0 (const std::string &argv0) |