nxt.tabular

Generic Loader for delimited text files.

tabular is the main function to be used.

Members

Functions

parseDelimited
void parseDelimited(string input, char delimiter, Data arg)

Parses string input, delimited by character delimiter, into a tuple of variables $(arg).

tabular
void tabular(string filename)

Loads a delimited text file, line-by-line, parses the line into fields, and calls a delegate/function for each line.

tabularArray
Select!(Types.length == 1, Types[0][], Tuple!(Types)[]) tabularArray(string filename)

Loads a delimited text file, line-by-line, parses the line into fields, returns an array of fields.

testFilename
string testFilename(string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

BSD 3-Clause