19 #ifndef OST_IO_PDB_WRITER_HH
20 #define OST_IO_PDB_WRITER_HH
28 #include <boost/filesystem/fstream.hpp>
29 #include <boost/iostreams/filtering_stream.hpp>
37 namespace ost {
namespace io {
43 PDBWriter(
const boost::filesystem::path& filename,
49 bool IsPQR()
const {
return is_pqr_; }
58 void WriteModel(H ent);
60 void WriteModelLeader();
61 void WriteModelTrailer();
62 std::ofstream outfile_;
63 std::ostream& outstream_;
65 std::map<long, int> atom_indices_;