bpp-seq
2.2.0
|
AlphabetIndex2 I/O in BppO format. More...
#include <Bpp/Seq/Io/BppOAlphabetIndex2Format.h>
Public Member Functions | |
BppOAlphabetIndex2Format (const Alphabet *alphabet, 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 |
AlphabetIndex2 * | read (const std::string &description) throw (Exception) |
Read a AlphabetIndex1 object from a string. More... | |
Private Attributes | |
const Alphabet * | alphabet_ |
std::string | message_ |
bool | verbose_ |
AlphabetIndex2 I/O in BppO format.
Enables the instanciation of AlphabetIndex2 objects according to the BppO syntax (see the Bio++ Program Suite manual for a detailed description of this syntax).
Definition at line 60 of file BppOAlphabetIndex2Format.h.
|
inline |
alphabet | The alphabet for which indices should be built. The alphabet will be used to check that the instanciated 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 75 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 78 of file BppOAlphabetIndex2Format.h.
|
inlinevirtual |
Definition at line 91 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 98 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 96 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 94 of file BppOAlphabetIndex2Format.h.
|
inline |
Definition at line 83 of file BppOAlphabetIndex2Format.h.
AlphabetIndex2 * BppOAlphabetIndex2Format::read | ( | const std::string & | description | ) | |
throw | ( | Exception | |||
) |
Read a AlphabetIndex1 object from a string.
description | A string describing the index in the keyval syntax. |
Exception | if an error occured. |
Definition at line 59 of file BppOAlphabetIndex2Format.cpp.
References bpp::AlphabetTools::isProteicAlphabet(), bpp::BppOAlphabetIndex1Format::read(), bpp::GranthamAAChemicalDistance::setPC1Sign(), bpp::MiyataAAChemicalDistance::setSymmetric(), bpp::SimpleIndexDistance::setSymmetric(), and bpp::GranthamAAChemicalDistance::setSymmetric().
Referenced by bpp::SequenceApplicationTools::getAlphabetIndex2().
|
private |
Definition at line 64 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().
|
private |
Definition at line 65 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().
|
private |
Definition at line 66 of file BppOAlphabetIndex2Format.h.
Referenced by operator=().