bpp-seq3
3.0.0
|
AlphabetIndex2 I/O in BppO format. More...
#include <Bpp/Seq/Io/BppOAlphabetIndex2Format.h>
Public Member Functions | |
BppOAlphabetIndex2Format (std::shared_ptr< const Alphabet > &alphabet, const std::string &message, bool verbose=true) | |
BppOAlphabetIndex2Format (std::shared_ptr< const CodonAlphabet > &alphabet, std::shared_ptr< const GeneticCode > &gencode, const std::string &message, bool verbose=true) | |
BppOAlphabetIndex2Format (const BppOAlphabetIndex2Format &format) | |
BppOAlphabetIndex2Format & | operator= (const BppOAlphabetIndex2Format &format) |
virtual | ~BppOAlphabetIndex2Format () |
const std::string | getFormatName () const |
const std::string | getFormatDescription () const |
const std::string | getDataType () const |
std::unique_ptr< AlphabetIndex2 > | read (const std::string &description) |
Read a AlphabetIndex2 object from a string. More... | |
Private Attributes | |
std::shared_ptr< const Alphabet > | alphabet_ |
std::shared_ptr< const GeneticCode > | gencode_ |
std::string | message_ |
bool | verbose_ |
AlphabetIndex2 I/O in BppO format.
Enables the instantiation of AlphabetIndex2 objects according to the BppO syntax (see the Bio++ Program Suite manual for a detailed description of this syntax).
Definition at line 26 of file BppOAlphabetIndex2Format.h.
|
inline |
alphabet | The alphabet for which indices should be built. The alphabet will be used to check that the instantiated index is compatible. |
message | Some text describing what the index is intended for. |
verbose | Tell if some messages should be printed while parsing. |
Definition at line 43 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 53 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 64 of file BppOAlphabetIndex2Format.h.
|
inlinevirtual |
Definition at line 79 of file BppOAlphabetIndex2Format.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 86 of file BppOAlphabetIndex2Format.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 84 of file BppOAlphabetIndex2Format.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 82 of file BppOAlphabetIndex2Format.h.
|
inline |
unique_ptr< AlphabetIndex2 > BppOAlphabetIndex2Format::read | ( | const std::string & | description | ) |
Read a AlphabetIndex2 object from a string.
description | A string describing the index in the keyval syntax. |
Exception | if an error occurred. |
Definition at line 24 of file BppOAlphabetIndex2Format.cpp.
References bpp::ApplicationTools::displayResult(), bpp::ApplicationTools::getAFilePath(), bpp::ApplicationTools::getBooleanParameter(), bpp::ApplicationTools::getStringParameter(), bpp::AlphabetTools::isCodonAlphabet(), bpp::AlphabetTools::isProteicAlphabet(), bpp::KeyvalTools::parseProcedure(), bpp::BppOAlphabetIndex1Format::read(), and read().
Referenced by bpp::SequenceApplicationTools::getAlphabetIndex2(), and read().
|
private |
Definition at line 30 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().
|
private |
Definition at line 31 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().
|
private |
Definition at line 33 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().
|
private |
Definition at line 34 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().