Function gaiaTextReaderParse

Source
pub unsafe extern "C" fn gaiaTextReaderParse(
    reader: gaiaTextReaderPtr,
) -> c_int
Expand description

Prescans the external file associated to a Text Reade object

\param reader pointer to Text Reader object.

\return 0 on failure: any other value on success.

\sa gaiaTextReaderAlloc, gaiaTextReaderDestroy, gaiaTextReaderGetRow, gaiaTextReaderFetchField

\note this preliminary step is required so to ensure: \li file consistency: checking expected formatting rules. \li identifying the number / type / name of fields [aka columns]. \li identifying the actual number of lines within the file.