The OSequence interface.
More...
#include <Bpp/Seq/Io/OSequence.h>
The OSequence interface.
This interface defines the basic methods for writing sequences to a file.
Definition at line 21 of file OSequence.h.
◆ OSequence()
bpp::OSequence::OSequence |
( |
| ) |
|
|
inline |
◆ ~OSequence()
virtual bpp::OSequence::~OSequence |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
const std::string bpp::IOSequence::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ writeSequences() [1/2]
virtual void bpp::OSequence::writeSequences |
( |
const std::string & |
path, |
|
|
const SequenceContainerInterface & |
sc, |
|
|
bool |
overwrite |
|
) |
| const |
|
pure virtual |
Write a container to a file.
- Parameters
-
path | The path to the file to write. |
sc | The container to write. |
overwrite | If true the sequences are written at the beginning of the file instead of being appended. Any previous content will be lost. |
- Exceptions
-
Exception | If the file is not in the specified format. |
Implemented in bpp::Mase, bpp::Fasta, and bpp::AbstractOSequence.
◆ writeSequences() [2/2]
The documentation for this class was generated from the following file: