19 #ifndef OST_IO_ENTITY_IO_PLUGIN_SDF_H
20 #define OST_IO_ENTITY_IO_PLUGIN_SDF_H
24 namespace ost {
namespace io {
29 const boost::filesystem::path& loc);
31 const boost::filesystem::path& loc)
const;
34 std::istream& stream);
37 std::ostream& stream)
const;
39 const String& format=
"auto");
41 const String& format=
"auto");
pure abstract base class for entity io handlers
static bool ProvidesImport(const boost::filesystem::path &loc, const String &format="auto")
static String GetFormatName()
static bool ProvidesExport(const boost::filesystem::path &loc, const String &format="auto")
virtual void Export(const mol::EntityView &ent, const boost::filesystem::path &loc) const
virtual void Import(mol::EntityHandle &ent, const boost::filesystem::path &loc)
virtual void Export(const mol::EntityView &ent, std::ostream &stream) const
static String GetFormatDescription()
virtual bool RequiresProcessor() const
virtual void Import(mol::EntityHandle &ent, std::istream &stream)
EntityIOHandlerFactory< EntityIOSDFHandler > EntityIOSDFHandlerFactory
void DLLEXPORT_OST_IO SaveSDF(const mol::EntityHandle &ent, const String &file_name)
mol::EntityHandle DLLEXPORT_OST_IO LoadSDF(const String &file_name)