Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
vil_image_list Class Reference

#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_sptrresources ()
 finds all the image files in the directory, regardless of extension. More...
 
std::vector< vil_image_resource_sptrblocked_resources ()
 finds all the blocked image files in the directory, regardless of extension. More...
 
std::vector< vil_image_resource_sptrpyramids ()
 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_
 

Detailed Description

Definition at line 20 of file vil_image_list.h.

Constructor & Destructor Documentation

◆ vil_image_list()

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::~vil_image_list ( )
default

Member Function Documentation

◆ blocked_resources()

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.

◆ clean_directory()

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.

◆ files()

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.

◆ pyramids()

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.

◆ remove_file()

bool vil_image_list::remove_file ( std::string &  filename)

remove a file.

Definition at line 143 of file vil_image_list.cxx.

◆ resources()

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.

◆ vil_is_directory()

bool vil_image_list::vil_is_directory ( char const *  fn)
static

utility functions.

checks if the path is a directory.

Definition at line 15 of file vil_image_list.cxx.

Member Data Documentation

◆ directory_

std::string vil_image_list::directory_
private

Definition at line 50 of file vil_image_list.h.


The documentation for this class was generated from the following files: