19 #ifndef OST_IO_ENTITY_IO_PLUGIN_MAE_H
20 #define OST_IO_ENTITY_IO_PLUGIN_MAE_H
27 #include <boost/iostreams/filtering_stream.hpp>
28 #include <boost/filesystem/fstream.hpp>
30 namespace ost {
namespace io {
57 boost::filesystem::ifstream infile_;
58 boost::iostreams::filtering_stream<boost::iostreams::input> in_;
66 const boost::filesystem::path& loc)
const;
73 const String& format=
"auto");
75 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)
void Import(mol::EntityHandle &ent)
MAEReader(const boost::filesystem::path &loc)
external coordinate system editor
mol::EntityHandle DLLEXPORT_OST_IO LoadMAE(const String &file_name)
EntityIOHandlerFactory< EntityIOMAEHandler > EntityIOMAEHandlerFactory