bpp-phyl3  3.0.0
IoFrequencySetFactory.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_PHYL_IO_IOFREQUENCYSETFACTORY_H
6 #define BPP_PHYL_IO_IOFREQUENCYSETFACTORY_H
7 
8 #include <Bpp/Exceptions.h>
9 
10 #include "../Model/SubstitutionModel.h"
11 #include "IoFrequencySet.h"
12 
13 // From the STL:
14 #include <string>
15 
16 namespace bpp
17 {
25 {
26 public:
27  static const std::string BPPO_FORMAT;
28 
29 public:
42 
50  virtual IFrequencySet* createReader(const std::string& format);
51 
59  virtual OFrequencySet* createWriter(const std::string& format);
60 };
61 } // end of namespace bpp.
62 #endif // BPP_PHYL_IO_IOFREQUENCYSETFACTORY_H
General interface for distance matrix readers.
Utilitary class for creating frequencies set readers and writers.
static const std::string BPPO_FORMAT
virtual IFrequencySet * createReader(const std::string &format)
Get a new dynamically created IFrequencySet object.
virtual OFrequencySet * createWriter(const std::string &format)
Get a new dynamically created OFrequencySet object.
IOFrequencySetFactory()
Creates a new factory object.
General interface for distance matrix writers.
Defines the basic types of data flow nodes.