23 #ifndef OST_IO_ENTITY_IO_PLUGIN_PQR_H
24 #define OST_IO_ENTITY_IO_PLUGIN_PQR_H
32 #include <boost/iostreams/filtering_stream.hpp>
33 #include <boost/filesystem/fstream.hpp>
35 namespace ost {
namespace io {
40 PQRReader(
const boost::filesystem::path& loc);
44 std::vector<mol::AtomHandle> GetSequentialAtoms()
const;
51 std::vector<mol::AtomHandle> sequential_atom_list_;
57 boost::filesystem::ifstream infile_;
58 boost::iostreams::filtering_stream<boost::iostreams::input> in_;
65 PQRWriter(
const boost::filesystem::path& filename,
bool ext=
false);
66 PQRWriter(std::ostream& outstream,
bool ext=
false);
79 std::ofstream outfile_;
80 std::ostream& outstream_;
92 const boost::filesystem::path& loc)
const;
96 virtual void Export(
const mol::EntityView& ent, std::ostream& stream)
const;
98 static bool ProvidesImport(
const boost::filesystem::path& loc,
99 const String& format=
"auto");
100 static bool ProvidesExport(
const boost::filesystem::path& loc,
101 const String& format=
"auto");
102 virtual bool RequiresBuilder()
const;