|
A library for working with phylogenetic and population genetic data.
v0.27.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_SEQUENCE_FORMATS_FASTA_OUTPUT_ITERATOR_H_
2 #define GENESIS_SEQUENCE_FORMATS_FASTA_OUTPUT_ITERATOR_H_
106 writer_.
write( seq, target_ );
127 std::shared_ptr<utils::BaseOutputTarget> target_;
134 #endif // include guard
~FastaOutputIterator()=default
FastaOutputIterator()=delete
FastaWriter & writer()
Return the FastaWriter used for this iterator.
FastaOutputIterator(std::shared_ptr< utils::BaseOutputTarget > target)
FastaOutputIterator self_type
self_type & operator<<(Sequence const &seq)
self_type & operator=(self_type const &)=default
FastaOutputIterator(std::shared_ptr< utils::BaseOutputTarget > target, FastaWriter const &writer)
void write(Sequence const &sequence, std::shared_ptr< utils::BaseOutputTarget > target) const
Write a single Sequence to an output target, using the Fasta format.
Write Fasta data, sequentially.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.