40 #ifndef _ABSTRACTOALIGNMENT_H_ 41 #define _ABSTRACTOALIGNMENT_H_ 44 #include "../Alphabet/Alphabet.h" 45 #include "../Container/VectorSequenceContainer.h" 76 std::ofstream output(path.c_str(), overwrite ? (std::ios::out) : (std::ios::out | std::ios::app));
85 #endif //_ABSTRACTOALIGNMENT_H_ The OAlignment interface.
The SiteContainer interface.
This alphabet is used to deal NumericAlphabet.
virtual ~AbstractOAlignment()
void writeAlignment(const std::string &path, const SiteContainer &sc, bool overwrite=true) const
Write a container to a file.
Partial implementation of the OAlignment interface.
void writeAlignment(std::ostream &output, const SiteContainer &sc) const =0
Write a container to a stream.