bpp-seq3
3.0.0
|
AlphabetIndex1 I/O in BppO format. More...
#include <Bpp/Seq/Io/BppOAlphabetIndex1Format.h>
Public Member Functions | |
BppOAlphabetIndex1Format (std::shared_ptr< const Alphabet > &alphabet, const std::string &message, bool verbose=true) | |
BppOAlphabetIndex1Format (std::shared_ptr< const CodonAlphabet > &alphabet, std::shared_ptr< const GeneticCode > &gencode, const std::string &message, bool verbose=true) | |
BppOAlphabetIndex1Format (const BppOAlphabetIndex1Format &format) | |
BppOAlphabetIndex1Format & | operator= (const BppOAlphabetIndex1Format &format) |
virtual | ~BppOAlphabetIndex1Format () |
const std::string | getFormatName () const |
const std::string | getFormatDescription () const |
const std::string | getDataType () const |
std::unique_ptr< AlphabetIndex1 > | read (const std::string &description) |
Read a AlphabetIndex1 object from a string. More... | |
Private Attributes | |
std::shared_ptr< const Alphabet > | alphabet_ |
std::shared_ptr< const GeneticCode > | gencode_ |
std::string | message_ |
bool | verbose_ |
AlphabetIndex1 I/O in BppO format.
Enables the instantiation of AlphabetIndex1 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 BppOAlphabetIndex1Format.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 BppOAlphabetIndex1Format.h.
|
inline |
Definition at line 53 of file BppOAlphabetIndex1Format.h.
|
inline |
Definition at line 64 of file BppOAlphabetIndex1Format.h.
|
inlinevirtual |
Definition at line 79 of file BppOAlphabetIndex1Format.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 86 of file BppOAlphabetIndex1Format.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 84 of file BppOAlphabetIndex1Format.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 82 of file BppOAlphabetIndex1Format.h.
|
inline |
unique_ptr< AlphabetIndex1 > BppOAlphabetIndex1Format::read | ( | const std::string & | description | ) |
Read a AlphabetIndex1 object from a string.
description | A string describing the index in the keyval syntax. |
Exception | if an error occurred. |
Definition at line 33 of file BppOAlphabetIndex1Format.cpp.
References bpp::ApplicationTools::displayResult(), bpp::ApplicationTools::getAFilePath(), bpp::AlphabetTools::isCodonAlphabet(), bpp::AlphabetTools::isProteicAlphabet(), bpp::KeyvalTools::parseProcedure(), and read().
Referenced by bpp::SequenceApplicationTools::getAlphabetIndex1(), read(), and bpp::BppOAlphabetIndex2Format::read().
|
private |
Definition at line 30 of file BppOAlphabetIndex1Format.h.
Referenced by operator=().
|
private |
Definition at line 31 of file BppOAlphabetIndex1Format.h.
Referenced by operator=().
|
private |
Definition at line 33 of file BppOAlphabetIndex1Format.h.
Referenced by operator=().
|
private |
Definition at line 34 of file BppOAlphabetIndex1Format.h.
Referenced by operator=().