aimstil
5.0.5
|
Return the number of row and columns of an array in a text file. More...
#include <cathier/io.h>
Classes | |
class | CannotOpenFile |
Public Member Functions | |
GetArraySize (std::size_t maxlinelength) | |
void | setMaxLineLength (std::size_t mll) |
std::size_t | nlines () const |
Returns the number of lines. More... | |
std::size_t | ncolumns () const |
Returns the number of columns. More... | |
void | operator() (const char *filename) |
Scan file to extract size information. More... | |
void | operator() (const std::string &filename) |
Scan file to extract size information. More... | |
Return the number of row and columns of an array in a text file.
|
explicit |
|
inline |
|
inline |
void til::io::GetArraySize::operator() | ( | const char * | filename | ) |
Scan file to extract size information.
Throws CannotOpenFile when, well, it cannot open the file.
Referenced by ncolumns(), and til::io::SimpleLoader< TIterator, TProgressIndicator >::progress_indicator().
|
inline |
Scan file to extract size information.
Definition at line 49 of file io.h.
References til::io::get_array_size().
|
inline |