OEGetMolDatabaseIdxFileName¶
std::string OEGetMolDatabaseIdxFileName(const std::string &filename)
Returns the default index file name generated by
OECreateMolDatabaseIdx
and
OEMolDatabase::Save
. Returns an empty string if
an empty string is given.
The index file name created is based upon the filename
passed,
optionally accounting for .gz
. The following table
demonstrates the pattern used to create index file names:
Database File Name |
Index File Name |
---|---|
database.oeb |
database.oeb.idx |
database.oeb.gz |
database.oeb.idx.gz |