$search
#include <configuration_finder.hh>
Static Public Member Functions | |
static std::string | find (const std::string &file, const std::string &packagename) |
static std::string | find (const std::string &file) |
static std::string | findSystemConfig (const std::string &file, const std::string &systemId) |
static std::string | search (const std::string &file, const std::vector< std::string > &searchDirectories) |
Search for configuration files available within the current directory and pathes given by the ROCK_CONFIG_PATH variable
Definition at line 14 of file configuration_finder.hh.
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)
Definition at line 22 of file configuration_finder.cc.
std::string utilmm::ConfigurationFinder::find | ( | const std::string & | file | ) | [static] |
Search for a file by name (no recursive search)
Definition at line 17 of file configuration_finder.cc.
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:
Definition at line 84 of file configuration_finder.cc.
std::string utilmm::ConfigurationFinder::search | ( | const std::string & | file, | |
const std::vector< std::string > & | searchDirectories | |||
) | [static] |
Search for a file within some given directories
Definition at line 51 of file configuration_finder.cc.