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;
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_;
void Write(const mol::EntityHandle &ent)
PDBWriter(const String &filename, const IOProfile &profile)
PDBWriter(std::ostream &outstream, const IOProfile &profile)
bool GetWriteMultiModel() const
void Write(const mol::EntityView &ent)
void SetWriteMultiModel(bool flag)
void Write(const mol::AtomHandleList &atoms)
PDBWriter(const boost::filesystem::path &filename, const IOProfile &profile)
std::vector< AtomHandle > AtomHandleList