#include <utilmm/configsearch/configuration_finder.hh>
|
| static std::string | find (const std::string &file) |
| |
| static std::string | find (const std::string &file, const std::string &packagename) |
| |
| static std::string | search (const std::string &file, const std::vector< std::string > &searchDirectories) |
| |
| static std::string | findSystemConfig (const std::string &file, const std::string &systemId) |
| |
Search for configuration files available within the current directory and pathes given by the ROCK_CONFIG_PATH variable
| static std::string utilmm::ConfigurationFinder::find |
( |
const std::string & |
file | ) |
|
|
static |
Search for a file by name (no recursive search)
- Returns
- The full path once the file was found, otherwise an empty string
| static std::string utilmm::ConfigurationFinder::find |
( |
const std::string & |
file, |
|
|
const std::string & |
packagename |
|
) |
| |
|
static |
Search for a file within [ $ROCK_CONFIG_PATH ]/<packagename>/ (no recursive search)
- Returns
- The full path once the file was found, otherwise an empty string
| static std::string utilmm::ConfigurationFinder::findSystemConfig |
( |
const std::string & |
file, |
|
|
const std::string & |
systemId |
|
) |
| |
|
static |
Search for a file by system_id when id syntax is BASENAME_ID, ..., BASENAME_ID Search priority is:
- search in BASENAME/ID first
- then search in BASENAME/
- Returns
- The full path once the file was found, otherwise an empty string
| static std::string utilmm::ConfigurationFinder::search |
( |
const std::string & |
file, |
|
|
const std::vector< std::string > & |
searchDirectories |
|
) |
| |
|
static |
Search for a file within some given directories
- Returns
- The full path once the file was found, otherwise an empty string
The documentation for this class was generated from the following file: