Utilitary class for creating substitution model readers and writers.
More...
#include <Bpp/Phyl/Io/IoSubstitutionModelFactory.h>
Utilitary class for creating substitution model readers and writers.
- See also
- IOSequenceFactory
-
IOTreeFactory
Definition at line 60 of file IoSubstitutionModelFactory.h.
◆ IOSubstitutionModelFactory()
bpp::IOSubstitutionModelFactory::IOSubstitutionModelFactory |
( |
| ) |
|
|
inline |
Creates a new factory object.
Example:
SubstitutionModel * model = modReader->read(...);
delete modReader;
Definition at line 77 of file IoSubstitutionModelFactory.h.
◆ ~IOSubstitutionModelFactory()
virtual bpp::IOSubstitutionModelFactory::~IOSubstitutionModelFactory |
( |
| ) |
|
|
inlinevirtual |
◆ createReader()
ISubstitutionModel * IOSubstitutionModelFactory::createReader |
( |
const std::string & |
format | ) |
|
throw | ( | Exception |
| ) | | |
|
virtual |
◆ createWriter()
OSubstitutionModel * IOSubstitutionModelFactory::createWriter |
( |
const std::string & |
format | ) |
|
throw | ( | Exception |
| ) | | |
|
virtual |
◆ BPPO_FORMAT
const std::string IOSubstitutionModelFactory::BPPO_FORMAT = "Bpp0" |
|
static |
The documentation for this class was generated from the following files: