bpp-seq3  3.0.0
bpp::OSequenceStream Class Referenceabstract

The OSequenceStream interface. More...

#include <Bpp/Seq/Io/OSequenceStream.h>

+ Inheritance diagram for bpp::OSequenceStream:
+ Collaboration diagram for bpp::OSequenceStream:

Public Member Functions

 OSequenceStream ()
 
virtual ~OSequenceStream ()
 
virtual void writeSequence (std::ostream &output, const Sequence &seq) const =0
 Read sequence from stream. More...
 
virtual const std::string getDataType () const=0
 
virtual const std::string getFormatName () const=0
 
virtual const std::string getFormatDescription () const=0
 

Detailed Description

The OSequenceStream interface.

Interface for streaming sequences output.

Author
Sylvain Gaillard

Definition at line 59 of file OSequenceStream.h.

Constructor & Destructor Documentation

◆ OSequenceStream()

bpp::OSequenceStream::OSequenceStream ( )
inline

Definition at line 62 of file OSequenceStream.h.

◆ ~OSequenceStream()

virtual bpp::OSequenceStream::~OSequenceStream ( )
inlinevirtual

Definition at line 63 of file OSequenceStream.h.

Member Function Documentation

◆ writeSequence()

virtual void bpp::OSequenceStream::writeSequence ( std::ostream &  output,
const Sequence seq 
) const
pure virtual

Read sequence from stream.

Read one sequence from a stream.

Parameters
outputThe stream where write.
seqThe sequence to write.
Exceptions
ExceptionIOExecption.

Implemented in bpp::Fasta.


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