OEReadCSVFile

bool OEReadCSVFile(oemolistream &ifs, OEMolBase &mol,
                   unsigned int flavor = OEIFlavor::CSV::DEFAULT)

Read the next molecule from a comma-separated-value, CSV, file opened by ifs into mol. The specific layout of the file is described in the CSV File Format section. The flavor argument is a value OR’d together from the values in the OEIFlavor.CSV namespace. Returns true if a molecule was successfully read, false otherwise.