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>
48 typedef boost::iostreams::filtering_stream<boost::iostreams::output> OutStream;
52 PDBWriter(
const boost::filesystem::path& filename,
58 bool IsPQR()
const {
return is_pqr_; }
67 void WriteModel(H ent);
69 void WriteModelLeader();
70 void WriteModelTrailer();
71 std::ofstream outfile_;
72 std::ostream& outstream_;
74 std::map<long, int> atom_indices_;
bool GetWriteMultiModel() const
void SetWriteMultiModel(bool flag)
std::vector< AtomHandle > AtomHandleList