#include <list>
#include <string>
Go to the source code of this file.
Enumerations | |
enum | image_error { image_ok = 0, image_not_found, image_unreadable, image_format_failure, image_multiple_match } |
possible reasons why we can't read a binary image More... | |
Functions | |
void | report_image_error (std::string const &image, image_error error, bool fatal, extra_images const &extra) |
void | report_image_error (inverted_profile const &profile, bool fatal, extra_images const &extra) |
output why the image passed can't be read to stderr | |
void | report_image_errors (std::list< inverted_profile > const &plist, extra_images const &extra) |
output why any bad images can't be read to stderr |
Report errors in images
Definition in file image_errors.h.
enum image_error |
possible reasons why we can't read a binary image
Definition at line 21 of file image_errors.h.
void report_image_error | ( | inverted_profile const & | profile, | |
bool | fatal, | |||
extra_images const & | extra | |||
) |
output why the image passed can't be read to stderr
Definition at line 72 of file image_errors.cpp.
References inverted_profile::error, inverted_profile::image, and report_image_error().
void report_image_error | ( | std::string const & | image, | |
image_error | error, | |||
bool | fatal, | |||
extra_images const & | extra | |||
) |
output why the image passed can't be read to stderr, we warranty only one error report by image name.
void report_image_errors | ( | std::list< inverted_profile > const & | plist, | |
extra_images const & | extra | |||
) |
output why any bad images can't be read to stderr