bpp-seq3  3.0.0
bpp::TemplateOSequenceStream< SequenceType > Class Template Referenceabstract

The OSequenceStream interface. More...

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

+ Inheritance diagram for bpp::TemplateOSequenceStream< SequenceType >:
+ Collaboration diagram for bpp::TemplateOSequenceStream< SequenceType >:

Public Member Functions

 TemplateOSequenceStream ()
 
virtual ~TemplateOSequenceStream ()
 
virtual void writeSequence (std::ostream &output, const SequenceType &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

template<class SequenceType>
class bpp::TemplateOSequenceStream< SequenceType >

The OSequenceStream interface.

Interface for streaming sequences output.

Author
Sylvain Gaillard

Definition at line 24 of file OSequenceStream.h.

Constructor & Destructor Documentation

◆ TemplateOSequenceStream()

template<class SequenceType >
bpp::TemplateOSequenceStream< SequenceType >::TemplateOSequenceStream ( )
inline

Definition at line 28 of file OSequenceStream.h.

◆ ~TemplateOSequenceStream()

template<class SequenceType >
virtual bpp::TemplateOSequenceStream< SequenceType >::~TemplateOSequenceStream ( )
inlinevirtual

Definition at line 29 of file OSequenceStream.h.

Member Function Documentation

◆ writeSequence()

template<class SequenceType >
virtual void bpp::TemplateOSequenceStream< SequenceType >::writeSequence ( std::ostream &  output,
const SequenceType &  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.

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