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