52 const std::string &separator) {
53 DSearchPath search(path, separator);
const Filename & get_file(size_t n) const
Returns the nth file on the result list.
size_t size() const
Returns the num of filenames in the set.
Filename operator[](size_t n) const
Returns the nth filename in the set.
size_t get_num_files() const
Returns the number of files on the result list.
Filename find_file(const Filename &filename) const
Searches all the directories in the search list for the indicated file, in order.
size_t find_all_files(const Filename &filename, Results &results) const
Searches all the directories in the search list for the indicated file, in order.
static Filename search_path(const Filename &filename, const std::string &path, const std::string &separator=std::string())
A quick-and-easy way to search a searchpath for a file when you don't feel like building or keeping a...
The name of a file, such as a texture file or an Egg file.