5 #ifndef BPP_SEQ_IO_ABSTRACTOSEQUENCE_H
6 #define BPP_SEQ_IO_ABSTRACTOSEQUENCE_H
9 #include "../Alphabet/Alphabet.h"
10 #include "../Container/VectorSequenceContainer.h"
11 #include "../ProbabilisticSequence.h"
41 std::ofstream output(path.c_str(), overwrite ? (std::ios::out) : (std::ios::out | std::ios::app));
106 std::ofstream output(path.c_str(), overwrite ? (std::ios::out) : (std::ios::out | std::ios::app));
Partial implementation of the OProbabilisticAlignment interface.
void writeAlignment(std::ostream &output, const ProbabilisticSiteContainerInterface &sc) const override
Write a container to a stream.
virtual ~AbstractOProbabilisticSequence2()
AbstractOProbabilisticSequence2()
void writeAlignment(const std::string &path, const ProbabilisticSiteContainerInterface &sc, bool overwrite=true) const override
Write a container to a file.
Partial implementation of the OProbabilisticSequence interface.
void writeSequences(std::ostream &output, const ProbabilisticSequenceContainerInterface &psc) const override=0
Write a container to a stream.
AbstractOProbabilisticSequence()
void writeSequences(const std::string &path, const ProbabilisticSequenceContainerInterface &psc, bool overwrite=true) const override
Write a container to a file.
virtual ~AbstractOProbabilisticSequence()
Partial implementation of the OAlignment interface.
void writeAlignment(const std::string &path, const SiteContainerInterface &sc, bool overwrite=true) const override
Write a container to a file.
virtual ~AbstractOSequence2()
void writeAlignment(std::ostream &output, const SiteContainerInterface &sc) const override
Write a container to a stream.
Partial implementation of the OSequence interface.
virtual ~AbstractOSequence()
void writeSequences(const std::string &path, const SequenceContainerInterface &sc, bool overwrite=true) const override
Write a container to a file.
void writeSequences(std::ostream &output, const SequenceContainerInterface &sc) const override=0
Write a container to a stream.
The OAlignment interface.
The OProbabilisticAlignment interface.
The OProbabilisticSequence interface.
The SequenceContainer interface.
This alphabet is used to deal NumericAlphabet.