OEWritePropertyDataToCSV

bool OEWritePropertyDataToCSV(const std::string &fname, OEChem::oemolistream &ifs, OEMolProp::OEFilter &filter)
bool OEWritePropertyDataToCSV(OEChem::oemolostream &ofs, OEChem::oemolistream &ifs, OEMolProp::OEFilter &filter);

Write the molecular properties calculated by OEFilter to the output file fname or to the stream ofs in the OEFormat_CSV format. Returns true if the output CSV file was successfully written, false otherwise.

Molecules are read in from the input stream ifs. The output CSV file can be read by the OEReadCSVFile function.

See also