aimstil
5.0.5
|
#include <cathier/io.h>
Classes | |
class | CannotOpenFile |
Public Member Functions | |
SimpleLoader (std::size_t maxlinelength) | |
Construct object, giving maximum length, in characters, of a line on file. More... | |
TProgressIndicator & | progress_indicator () |
void | operator() (const char *filename, TIterator begin) |
Load array from file, and store it from begin onwards. More... | |
void | operator() (const std::string &filename, TIterator begin) |
Load array from file, and store it from begin onwards. More... | |
|
inlineexplicit |
void til::io::SimpleLoader< TIterator, TProgressIndicator >::operator() | ( | const char * | filename, |
TIterator | begin | ||
) |
Load array from file, and store it from begin onwards.
Throws CannotOpenFile if file cannot be opened.
void til::io::SimpleLoader< TIterator, TProgressIndicator >::operator() | ( | const std::string & | filename, |
TIterator | begin | ||
) |
Load array from file, and store it from begin onwards.
Throws CannotOpenFile if file cannot be opened.
|
inline |
Definition at line 88 of file io.h.
References til::io::GetArraySize::operator()().