OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
IOManager Class Reference

#include <io_manager.hh>

Public Member Functions

EntityIOHandlerP FindEntityImportHandler (const String &filename, const String &format="auto")
 
EntityIOHandlerP FindEntityExportHandler (const String &filename, const String &format="auto")
 
void RegisterFactory (const EntityIOHandlerFactoryBaseP &)
 
void RegisterFactory (const SequenceIOHandlerFactoryBasePtr &)
 
void RegisterFactory (const ProfileIOHandlerFactoryBasePtr &)
 
void RegisterFactory (const SurfaceIOHandlerFactoryBasePtr &)
 
const EntityIOHFListGetAvailableEntityHandler () const
 
const AlignmentIOFListGetAvailableAlignmentHandler () const
 
const ProfileIOFListGetAvailableProfileHandler () const
 
const SurfaceIOFListGetAvailableSurfaceHandler () const
 
Alignment/Sequence IO
SequenceIOHandlerPtr FindAlignmentImportHandler (const String &filename, const String &format="auto")
 
SequenceIOHandlerPtr FindAlignmentExportHandler (const String &filename, const String &format="auto")
 
ProfileIOHandlerPtr FindProfileImportHandler (const String &filename, const String &format="auto")
 
ProfileIOHandlerPtr FindProfileExportHandler (const String &filename, const String &format="auto")
 
SurfaceIOHandlerPtr FindSurfaceImportHandler (const String &filename, const String &format="auto")
 

Static Public Member Functions

static IOManagerInstance ()
 

Detailed Description

Central registry for input/output handlers.

Definition at line 50 of file io_manager.hh.

Member Function Documentation

SequenceIOHandlerPtr FindAlignmentExportHandler ( const String filename,
const String format = "auto" 
)
SequenceIOHandlerPtr FindAlignmentImportHandler ( const String filename,
const String format = "auto" 
)

get sequence io handler that is able to import the given file.

See Also
FindEntityImportHandler(filename)
EntityIOHandlerP FindEntityExportHandler ( const String filename,
const String format = "auto" 
)

get entity IO handler that is able to export the file.

Note
The same rules as for FindEntityImportHandler(const String&, const String&) apply here.
EntityIOHandlerP FindEntityImportHandler ( const String filename,
const String format = "auto" 
)
ProfileIOHandlerPtr FindProfileExportHandler ( const String filename,
const String format = "auto" 
)
ProfileIOHandlerPtr FindProfileImportHandler ( const String filename,
const String format = "auto" 
)
SurfaceIOHandlerPtr FindSurfaceImportHandler ( const String filename,
const String format = "auto" 
)
const AlignmentIOFList& GetAvailableAlignmentHandler ( ) const

Get a list with all available AlignmentHandler.

const EntityIOHFList& GetAvailableEntityHandler ( ) const

Get a list with all available EntityHandler.

const ProfileIOFList& GetAvailableProfileHandler ( ) const

Get a list with all available ProfileHandler.

const SurfaceIOFList& GetAvailableSurfaceHandler ( ) const

Get a list with all available SurfaceHandler.

static IOManager& Instance ( )
static
void RegisterFactory ( const EntityIOHandlerFactoryBaseP )

register entity io handler factory

See Also
adding_io_handler
void RegisterFactory ( const SequenceIOHandlerFactoryBasePtr )

register aligment io handler factory

See Also
adding_io_handler
void RegisterFactory ( const ProfileIOHandlerFactoryBasePtr )

register profile io handler factory

See Also
adding_io_handler
void RegisterFactory ( const SurfaceIOHandlerFactoryBasePtr )

register surface io handler factory

See Also
adding_io_handler

The documentation for this class was generated from the following file: