bpp-seq3
3.0.0
|
The IProbabilisticSequence interface. More...
#include <Bpp/Seq/Io/ISequence.h>
Public Member Functions | |
IProbabilisticSequence () | |
virtual | ~IProbabilisticSequence () |
virtual void | readSequences (std::istream &input, ProbabilisticSequenceContainerInterface &container) const =0 |
Create a new container from a stream. More... | |
virtual void | readSequences (const std::string &path, ProbabilisticSequenceContainerInterface &container) const =0 |
Create a new container from a file. More... | |
virtual std::unique_ptr< ProbabilisticSequenceContainerInterface > | readSequences (std::istream &input, std::shared_ptr< const Alphabet > alpha) const =0 |
Create a new container from a stream. More... | |
virtual std::unique_ptr< ProbabilisticSequenceContainerInterface > | readSequences (const std::string &path, std::shared_ptr< const Alphabet > alpha) const =0 |
Create a new container from a file. More... | |
const std::string | getDataType () const |
virtual const std::string | getFormatName () const=0 |
virtual const std::string | getFormatDescription () const=0 |
The IProbabilisticSequence interface.
This interface defines the basic methods for reading aligned values from a file.
Definition at line 148 of file ISequence.h.
|
inline |
Definition at line 152 of file ISequence.h.
|
inlinevirtual |
Definition at line 153 of file ISequence.h.
|
inlinevirtualinherited |
|
pure virtual |
Create a new container from a file.
path | The path to the file to read. |
container | The container where to add data. |
Exception | If the file is not in the specified format. |
Implemented in bpp::AbstractIProbabilisticSequence, and bpp::AbstractIProbabilisticAlignment2.
|
pure virtual |
Create a new container from a file.
path | The path to the file to read. |
alpha | The alphabet to be associated to the container. |
Implemented in bpp::AbstractIProbabilisticSequence, and bpp::AbstractIProbabilisticAlignment2.
|
pure virtual |
Create a new container from a stream.
input | The input stream to read. |
container | The container where to add data. |
Exception | If the file is not in the specified format. |
Implemented in bpp::AbstractIProbabilisticSequence, and bpp::AbstractIProbabilisticAlignment2.
|
pure virtual |
Create a new container from a stream.
input | The input stream to read. |
alpha | The alphabet to be associated to the container. |
Implemented in bpp::AbstractIProbabilisticSequence, and bpp::AbstractIProbabilisticAlignment2.