Component index
Section index | Component loadfile |
Search |
Type | Function |
Summary | Read a text file and process every lines |
Description |
![]() ![]() | void empty (LOADFILE_INFO &info) | |
![]() ![]() | void end (off_t filepos, LOADFILE_INFO &info) | |
![]() ![]() | void missing (const char *fname) | |
![]() ![]() | int oneline (const char *line, off_t filepos, int noline, LOADFILE_INFO &info) | |
![]() ![]() | void start (LOADFILE_INFO &info) |
Instead of walking a file, it receives a SSTREAM object, which can be anything. Return the number of line processed otherwise.
return -1 if any errors. Return the number of line processed otherwise.
return -1 if any errors. Return the number of line processed otherwise.
Line are striped (at the end) or not, based on the loadfile prototype used.