#include <vil_image_list.h>
Public Member Functions | |
vil_image_list (char const *directory) | |
~vil_image_list () | |
vcl_vector< vcl_string > | files () |
finds all the files in the directory, regardless of extension. | |
vcl_vector < vil_image_resource_sptr > | resources () |
finds all the image files in the directory, regardless of extension. | |
vcl_vector < vil_image_resource_sptr > | blocked_resources () |
finds all the blocked image files in the directory, regardless of extension. | |
vcl_vector < vil_image_resource_sptr > | pyramids () |
finds all the pyramid files in the directory, regardless of extension. | |
bool | remove_file (vcl_string &filename) |
remove a file. | |
bool | clean_directory () |
cleans the directory, i.e. removes all the files. | |
Static Public Member Functions | |
static bool | vil_is_directory (char const *) |
utility functions. | |
Private Attributes | |
vcl_string | directory_ |
Definition at line 20 of file vil_image_list.h.
vil_image_list::vil_image_list | ( | char const * | directory | ) | [inline] |
Definition at line 23 of file vil_image_list.h.
vil_image_list::~vil_image_list | ( | ) | [inline] |
Definition at line 24 of file vil_image_list.h.
vcl_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 128 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 169 of file vil_image_list.cxx.
vcl_vector< vcl_string > vil_image_list::files | ( | ) |
finds all the files in the directory, regardless of extension.
Definition at line 74 of file vil_image_list.cxx.
vcl_vector< vil_image_resource_sptr > vil_image_list::pyramids | ( | ) |
finds all the pyramid files in the directory, regardless of extension.
Definition at line 143 of file vil_image_list.cxx.
bool vil_image_list::remove_file | ( | vcl_string & | filename | ) |
remove a file.
Definition at line 158 of file vil_image_list.cxx.
vcl_vector< vil_image_resource_sptr > vil_image_list::resources | ( | ) |
finds all the image files in the directory, regardless of extension.
Definition at line 114 of file vil_image_list.cxx.
bool vil_image_list::vil_is_directory | ( | char const * | fn | ) | [static] |
utility functions.
checks if the path is a directory.
Definition at line 20 of file vil_image_list.cxx.
vcl_string vil_image_list::directory_ [private] |
Definition at line 50 of file vil_image_list.h.