5 #ifndef BPP_SEQ_IO_ABSTRACTOALIGNMENT_H
6 #define BPP_SEQ_IO_ABSTRACTOALIGNMENT_H
9 #include "../Alphabet/Alphabet.h"
10 #include "../Container/VectorSequenceContainer.h"
40 std::ofstream output(path.c_str(), overwrite ? (std::ios::out) : (std::ios::out | std::ios::app));
68 std::ofstream output(path.c_str(), overwrite ? (std::ios::out) : (std::ios::out | std::ios::app));
Partial implementation of the OAlignment interface.
virtual ~AbstractOAlignment()
void writeAlignment(const std::string &path, const SiteContainerInterface &sc, bool overwrite=true) const override
Write a container to a file.
void writeAlignment(std::ostream &output, const SiteContainerInterface &sc) const override=0
Write a container to a stream.
Partial implementation of the OProbabilisticAlignment interface.
void writeAlignment(const std::string &path, const ProbabilisticSiteContainerInterface &psc, bool overwrite=true) const override
Write a container to a file.
AbstractOProbabilisticAlignment()
virtual ~AbstractOProbabilisticAlignment()
void writeAlignment(std::ostream &output, const ProbabilisticSiteContainerInterface &psc) const override=0
Write a container to a stream.
The OAlignment interface.
The OProbabilisticAlignment interface.
This alphabet is used to deal NumericAlphabet.