19 #ifndef OST_IO_ENTITY_IO_PLUGIN_MMCIF_HH
20 #define OST_IO_ENTITY_IO_PLUGIN_MMCIF_HH
26 namespace ost {
namespace io {
31 virtual void Import(mol::EntityHandle& ent,
32 const boost::filesystem::path& loc);
34 virtual void Export(
const mol::EntityView& ent,
35 const boost::filesystem::path& loc)
const;
37 virtual void Import(mol::EntityHandle& ent, std::istream& stream);
39 virtual void Export(
const mol::EntityView& ent, std::ostream& stream)
const;
41 static bool ProvidesImport(
const boost::filesystem::path& loc,
42 const String& format=
"auto");
43 static bool ProvidesExport(
const boost::filesystem::path& loc,
44 const String& format=
"auto");
45 virtual bool RequiresProcessor()
const;
49 return String(
"macromolecular Crystallographic Information File ");
static String GetFormatName()
static String GetFormatDescription()
EntityIOHandlerFactory< EntityIOMMCIFHandler > EntityIOMMCIFHandlerFactory