OpenStructure
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 SurfaceIOHandlerFactoryBasePtr &)
const EntityIOHFListGetAvailableEntityHandler () const
const AlignmentIOFListGetAvailableAlignmentHandler () 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")
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 48 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" 
)
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 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 SurfaceIOHandlerFactoryBasePtr )

register surface io handler factory

See also:
adding_io_handler

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