#include <string>
Go to the source code of this file.
Data Structures | |
struct | parsed_filename |
Functions | |
std::ostream & | operator<< (std::ostream &, parsed_filename const &) |
debugging helper | |
parsed_filename | parse_filename (std::string const &filename, extra_images const &extra_found_images) |
Split a sample filename into its constituent parts
Definition in file parse_filename.h.
std::ostream& operator<< | ( | std::ostream & | , | |
parsed_filename const & | ||||
) |
debugging helper
parsed_filename parse_filename | ( | std::string const & | filename, | |
extra_images const & | extra_found_images | |||
) |
parse a sample filename
filename | in: a sample filename | |
extra_found_images | binary image location |
filename is split into constituent parts, the lib_image is optional and can be empty on successfull call. All other error are fatal. Filenames are encoded as according to PP:3.19 to PP:3.25
all errors throw an std::invalid_argument exception