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;
50 PDBWriter(
const String& filename,
51 const IOProfile& profile);
52 PDBWriter(
const boost::filesystem::path& filename,
53 const IOProfile& profile);
54 PDBWriter(std::ostream& outstream,
const IOProfile& profile);
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