OEWritePDBFile

void OEWritePDBFile(oemolostream &ofs, OEMolBase &mol,
                    unsigned int flavor=OEOFlavor::PDB::DEFAULT)

Writes the molecule as a Brookhaven PDB format file to the output stream ‘ofs’. A number of different PDB format variants are supported by the use of ‘flavor’ parameter from the OEOFlavor.PDB namespace.