libqi-api
2.1.4.13
|
find bin/lib/data/conf for the current application More...
Go to the source code of this file.
Classes | |
class | qi::Path |
Namespaces | |
qi | |
qi general namespace | |
qi::path | |
Set of tools to handle SDK layouts. | |
qi::path::detail | |
Macros | |
#define | _QI_PATH_HPP_ |
Typedefs | |
typedef std::vector< Path > | qi::PathVector |
Functions | |
std::string | qi::path::sdkPrefix () |
Return the default SDK prefix path. More... | |
std::vector< std::string > | qi::path::detail::getSdkPrefixes () |
Return the SDK prefixes list. It's always complete, native paths. More... | |
void | qi::path::detail::addOptionalSdkPrefix (const char *prefix) |
Add a new SDK prefix to the list of searchable prefixes. More... | |
void | qi::path::detail::clearOptionalSdkPrefix () |
Reset the list of additional SDK prefixes. More... | |
std::string | qi::path::findBin (const std::string &name) |
Look for a binary. More... | |
std::string | qi::path::findLib (const std::string &name) |
Look for a library. More... | |
std::string | qi::path::findConf (const std::string &applicationName, const std::string &filename) |
Look for a configuration file. More... | |
std::string | qi::path::findData (const std::string &applicationName, const std::string &filename) |
std::vector< std::string > | qi::path::listData (const std::string &applicationName, const std::string &pattern="*") |
std::vector< std::string > | qi::path::confPaths (const std::string &applicationName="") |
Get the list of directories used when searching for configuration files for the given application name. More... | |
std::vector< std::string > | qi::path::dataPaths (const std::string &applicationName="") |
Get the list of directories used when searching for data files for the given application name. More... | |
std::vector< std::string > | qi::path::binPaths () |
Get the list of directories used when searching for binaries. More... | |
std::vector< std::string > | qi::path::libPaths () |
Get the list of directories used when searching for libraries. More... | |
void | qi::path::setWritablePath (const std::string &path) |
Set the writable files path for users. More... | |
std::string | qi::path::userWritableDataPath (const std::string &applicationName, const std::string &filename) |
Get the writable data files path for users. More... | |
std::string | qi::path::userWritableConfPath (const std::string &applicationName, const std::string &filename="") |
Get the writable configuration files path for users. More... | |
std::string | qi::path::convertToDosPath (const std::string &pathString) |
find bin/lib/data/conf for the current application
Definition in file path.hpp.