#include <vil_image_list.h>
Public Member Functions | |
| vil_image_list (char const *directory) | |
| ~vil_image_list ()=default | |
| std::vector< std::string > | files () |
| finds all the files in the directory, regardless of extension. More... | |
| std::vector< vil_image_resource_sptr > | resources () |
| finds all the image files in the directory, regardless of extension. More... | |
| std::vector< vil_image_resource_sptr > | blocked_resources () |
| finds all the blocked image files in the directory, regardless of extension. More... | |
| std::vector< vil_image_resource_sptr > | pyramids () |
| finds all the pyramid files in the directory, regardless of extension. More... | |
| bool | remove_file (std::string &filename) |
| remove a file. More... | |
| bool | clean_directory () |
| cleans the directory, i.e. removes all the files. More... | |
Static Public Member Functions | |
| static bool | vil_is_directory (char const *) |
| utility functions. More... | |
Private Attributes | |
| std::string | directory_ |
Definition at line 20 of file vil_image_list.h.
|
inline |
Definition at line 23 of file vil_image_list.h.
|
default |
| std::vector< vil_image_resource_sptr > vil_image_list::blocked_resources | ( | ) |
finds all the blocked image files in the directory, regardless of extension.
Definition at line 115 of file vil_image_list.cxx.
| bool vil_image_list::clean_directory | ( | ) |
cleans the directory, i.e. removes all the files.
removes all files from the directory. sub-directories are not touched.
Definition at line 154 of file vil_image_list.cxx.
| std::vector< std::string > vil_image_list::files | ( | ) |
finds all the files in the directory, regardless of extension.
Definition at line 62 of file vil_image_list.cxx.
| std::vector< vil_image_resource_sptr > vil_image_list::pyramids | ( | ) |
finds all the pyramid files in the directory, regardless of extension.
Definition at line 129 of file vil_image_list.cxx.
| bool vil_image_list::remove_file | ( | std::string & | filename | ) |
remove a file.
Definition at line 143 of file vil_image_list.cxx.
| std::vector< vil_image_resource_sptr > vil_image_list::resources | ( | ) |
finds all the image files in the directory, regardless of extension.
Definition at line 102 of file vil_image_list.cxx.
|
static |
utility functions.
checks if the path is a directory.
Definition at line 15 of file vil_image_list.cxx.
|
private |
Definition at line 50 of file vil_image_list.h.
1.8.15