19 #ifndef OST_IO_MANAGER_H
20 #define OST_IO_MANAGER_H
35 namespace ost {
namespace io {
41 typedef std::vector<MapIOHandlerFactoryBasePtr>
MapIOFList;
62 const String& format=
"auto");
69 const String& format=
"auto");
77 const String& format=
"auto");
80 const String& format=
"auto");
83 const String& format=
"auto");
86 const String& format=
"auto");
89 const String& format=
"auto");
Central registry for input/output handlers.
void RegisterFactory(const SequenceIOHandlerFactoryBasePtr &)
register aligment io handler factory
ProfileIOHandlerPtr FindProfileExportHandler(const String &filename, const String &format="auto")
ProfileIOHandlerPtr FindProfileImportHandler(const String &filename, const String &format="auto")
EntityIOHandlerP FindEntityImportHandler(const String &filename, const String &format="auto")
const MapIOFList & GetAvailableMapHandler() const
MapIOHandlerPtr FindMapImportHandlerStream(std::istream &stream, const ImageFormatBase &format)
SurfaceIOHandlerPtr FindSurfaceImportHandler(const String &filename, const String &format="auto")
void RegisterFactory(const ProfileIOHandlerFactoryBasePtr &)
register profile io handler factory
const ProfileIOFList & GetAvailableProfileHandler() const
Get a list with all available ProfileHandler.
MapIOHandlerPtr FindMapImportHandlerFile(const boost::filesystem::path &loc, const ImageFormatBase &format)
const SurfaceIOFList & GetAvailableSurfaceHandler() const
Get a list with all available SurfaceHandler.
MapIOHandlerPtr FindMapExportHandlerFile(const boost::filesystem::path &loc, const ImageFormatBase &format)
const AlignmentIOFList & GetAvailableAlignmentHandler() const
Get a list with all available AlignmentHandler.
EntityIOHandlerP FindEntityExportHandler(const String &filename, const String &format="auto")
get entity IO handler that is able to export the file.
SequenceIOHandlerPtr FindAlignmentExportHandler(const String &filename, const String &format="auto")
MapIOHandlerPtr FindMapExportHandlerStream(std::istream &stream, const ImageFormatBase &format)
const EntityIOHFList & GetAvailableEntityHandler() const
Get a list with all available EntityHandler.
void RegisterFactory(const SurfaceIOHandlerFactoryBasePtr &)
register surface io handler factory
static IOManager & Instance()
boost::shared_ptr< MapIOHandlerFactoryBase > MapIOHandlerFactoryBasePtr
std::vector< SurfaceIOHandlerFactoryBasePtr > SurfaceIOFList
boost::shared_ptr< SurfaceIOHandler > SurfaceIOHandlerPtr
boost::shared_ptr< SequenceIOHandler > SequenceIOHandlerPtr
std::vector< SequenceIOHandlerFactoryBasePtr > AlignmentIOFList
std::vector< MapIOHandlerFactoryBasePtr > MapIOFList
boost::shared_ptr< SequenceIOHandlerFactoryBase > SequenceIOHandlerFactoryBasePtr
std::vector< EntityIOHandlerFactoryBaseP > EntityIOHFList
std::vector< ProfileIOHandlerFactoryBasePtr > ProfileIOFList
boost::shared_ptr< ProfileIOHandler > ProfileIOHandlerPtr
boost::shared_ptr< SurfaceIOHandlerFactoryBase > SurfaceIOHandlerFactoryBasePtr
boost::shared_ptr< MapIOHandler > MapIOHandlerPtr
boost::shared_ptr< EntityIOHandlerFactoryBase > EntityIOHandlerFactoryBaseP
boost::shared_ptr< ProfileIOHandlerFactoryBase > ProfileIOHandlerFactoryBasePtr
boost::shared_ptr< EntityIOHandler > EntityIOHandlerP