#include <locate_images.h>
Public Member Functions | |
| extra_images () | |
| void | populate (std::vector< std::string > const &paths, std::string const &archive_path, std::string const &root_path) |
| add all filenames found in the given paths prefixed by the archive path or the root path, recursively | |
| std::vector< std::string > const | find (matcher const &match) const |
| return a vector of all directories that match the functor | |
| std::vector< std::string > const | find (std::string const &name) const |
| return a vector of all directories that match the given name | |
| std::string const | find_image_path (std::string const &image_name, image_error &error, bool fixup) const |
| std::string | get_archive_path () const |
| return the archive path used to populate the images name map | |
| std::string | strip_path_prefix (std::string const &image) const |
| Given an image name returned by find_image_path() return a filename with the archive_path or root_path stripped. | |
| int | get_uid () const |
| return the uid for this extra_images, first valid uid is 1 | |
Classes | |
| struct | matcher |
| base class for matcher functors object More... | |
The name may exist multiple times; all locations are recorded in this container.
|
|
|
|
|
return a vector of all directories that match the given name
|
|
|
return a vector of all directories that match the functor
|
|
||||||||||||||||
|
|
|
|
return the archive path used to populate the images name map
|
|
|
return the uid for this extra_images, first valid uid is 1
|
|
||||||||||||||||
|
add all filenames found in the given paths prefixed by the archive path or the root path, recursively
|
|
|
Given an image name returned by find_image_path() return a filename with the archive_path or root_path stripped.
|
1.4.6