A toolkit for working with phylogenetic data.
v0.20.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FastaOutputIterator Class Reference

#include <genesis/sequence/formats/fasta_output_iterator.hpp>

Detailed Description

Definition at line 50 of file fasta_output_iterator.hpp.

Public Member Functions

 FastaOutputIterator ()=default
 
 FastaOutputIterator (std::ostream &out)
 
 FastaOutputIterator (std::ostream &out, FastaWriter const &writer)
 
 FastaOutputIterator (self_type const &)=default
 
 FastaOutputIterator (self_type &&)=default
 
 ~FastaOutputIterator ()=default
 
self_typeoperator* ()
 
self_typeoperator++ ()
 
self_typeoperator++ (int)
 
self_typeoperator= (self_type const &)=default
 
self_typeoperator= (self_type &&)=default
 
self_typeoperator= (Sequence const &seq)
 
FastaWriterwriter ()
 Return the FastaWrtier used for this iterator. More...
 

Public Types

using iterator_category = std::output_iterator_tag
 
using self_type = FastaOutputIterator
 

Constructor & Destructor Documentation

FastaOutputIterator ( )
default
FastaOutputIterator ( std::ostream &  out)
inline

Definition at line 67 of file fasta_output_iterator.hpp.

FastaOutputIterator ( std::ostream &  out,
FastaWriter const &  writer 
)
inline

Definition at line 72 of file fasta_output_iterator.hpp.

~FastaOutputIterator ( )
default
FastaOutputIterator ( self_type const &  )
default
FastaOutputIterator ( self_type &&  )
default

Member Function Documentation

self_type& operator* ( )
inline

Definition at line 95 of file fasta_output_iterator.hpp.

self_type& operator++ ( )
inline

Definition at line 114 of file fasta_output_iterator.hpp.

self_type& operator++ ( int  )
inline

Definition at line 119 of file fasta_output_iterator.hpp.

self_type& operator= ( self_type const &  )
default
self_type& operator= ( self_type &&  )
default
self_type& operator= ( Sequence const &  seq)
inline

Definition at line 89 of file fasta_output_iterator.hpp.

FastaWriter& writer ( )
inline

Return the FastaWrtier used for this iterator.

Use this to change the writing behaviour of the iterator. See FastaWriter for details.

Definition at line 105 of file fasta_output_iterator.hpp.

Member Typedef Documentation

using iterator_category = std::output_iterator_tag

Definition at line 59 of file fasta_output_iterator.hpp.

Definition at line 58 of file fasta_output_iterator.hpp.


The documentation for this class was generated from the following file: