OERecordToCSVOptions
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OECSVConversionOptions
This class represents OERecordToCSVOptions, which store the the delimiter, the order of the OEFields, and whether a molecule title field is included for the OERecordToCSV.
Constructors
OERecordToCSVOptions()=default
OERecordToCSVOptions(OERecordToCSVOptions &&)=default
OERecordToCSVOptions(const OERecordToCSVOptions &)=default
operator=
OERecordToCSVOptions &operator=(const OERecordToCSVOptions &)=default
GetDelimiter
char GetDelimiter() const
Returns the delimiter set for the CSV file.
GetIncludeMolTitle
bool GetIncludeMolTitle() const
Returns a boolean based on whether a molecule title field will be added.
GetOrderedFields
std::vector<std::string> GetOrderedFields() const
Returns a vector of strings for how the OEField are ordered.
SetDelimiter
void SetDelimiter(char delimiter)
Sets the delimiter for the CSV file.
SetIncludeMolTitle
void SetIncludeMolTitle(bool state)
Boolean for adding a Mol Title OEField to the CSV.
SetOrderedFields
void SetOrderedFields(const std::vector<std::string> &orderedFields)
Sets the OEField order of the CSV file.