bpp-phyl3
3.0.0
|
Utilitary class for creating substitution model readers and writers. More...
#include <Bpp/Phyl/Io/IoSubstitutionModelFactory.h>
Public Member Functions | |
IOSubstitutionModelFactory () | |
Creates a new factory object. More... | |
virtual | ~IOSubstitutionModelFactory () |
virtual ISubstitutionModel * | createReader (const std::string &format) |
Get a new dynamically created ISubstitutionModel object. More... | |
virtual OSubstitutionModel * | createWriter (const std::string &format) |
Get a new dynamically created OSubstitutionModel object. More... | |
Static Public Attributes | |
static const std::string | BPPO_FORMAT = "Bpp0" |
Utilitary class for creating substitution model readers and writers.
Definition at line 25 of file IoSubstitutionModelFactory.h.
|
inline |
Creates a new factory object.
Example:
Definition at line 41 of file IoSubstitutionModelFactory.h.
|
inlinevirtual |
Definition at line 42 of file IoSubstitutionModelFactory.h.
|
virtual |
Get a new dynamically created ISubstitutionModel object.
format | The input file format. |
Exception | If the format name do not match any available format. |
Definition at line 11 of file IoSubstitutionModelFactory.cpp.
References bpp::BppOSubstitutionModelFormat::ALL, and BPPO_FORMAT.
|
virtual |
Get a new dynamically created OSubstitutionModel object.
format | The output file format. |
Exception | If the format name do not match any available format. |
Definition at line 19 of file IoSubstitutionModelFactory.cpp.
References bpp::BppOSubstitutionModelFormat::ALL, and BPPO_FORMAT.
|
static |
Definition at line 28 of file IoSubstitutionModelFactory.h.
Referenced by createReader(), and createWriter().