The same as previous, but can perform the reverse translation, eg: RNA -> DNA and DNA -> RNA;.
More...
#include <Bpp/Seq/Transliterator.h>
|
| ReverseTransliterator () |
|
virtual | ~ReverseTransliterator () |
|
virtual int | reverse (int state) const =0 throw (BadIntException, Exception) |
| Translate a given state coded as a int from target alphabet to source alphabet. More...
|
|
virtual std::string | reverse (const std::string &state) const =0 throw (BadCharException, Exception) |
| Translate a given state coded as a string from target alphabet to source alphabet. More...
|
|
virtual Sequence * | reverse (const Sequence &sequence) const =0 throw (AlphabetMismatchException, Exception) |
| Translate a whole sequence from target alphabet to source alphabet. More...
|
|
virtual const Alphabet * | getSourceAlphabet () const =0 |
| Get the source alphabet. More...
|
|
virtual const Alphabet * | getTargetAlphabet () const =0 |
| Get the target alphabet. More...
|
|
virtual int | translate (int state) const =0 throw (BadIntException, Exception) |
| Translate a given state coded as a int from source alphabet to target alphabet. More...
|
|
virtual std::string | translate (const std::string &state) const =0 throw (BadCharException, Exception) |
| Translate a given state coded as a string from source alphabet to target alphabet. More...
|
|
virtual Sequence * | translate (const Sequence &sequence) const =0 throw (AlphabetMismatchException, Exception) |
| Translate a whole sequence from source alphabet to target alphabet. More...
|
|
The same as previous, but can perform the reverse translation, eg: RNA -> DNA and DNA -> RNA;.
Definition at line 108 of file Transliterator.h.
◆ ReverseTransliterator()
bpp::ReverseTransliterator::ReverseTransliterator |
( |
| ) |
|
|
inline |
◆ ~ReverseTransliterator()
virtual bpp::ReverseTransliterator::~ReverseTransliterator |
( |
| ) |
|
|
inlinevirtual |
◆ getSourceAlphabet()
virtual const Alphabet* bpp::Transliterator::getSourceAlphabet |
( |
| ) |
const |
|
pure virtualinherited |
◆ getTargetAlphabet()
virtual const Alphabet* bpp::Transliterator::getTargetAlphabet |
( |
| ) |
const |
|
pure virtualinherited |
◆ reverse() [1/3]
virtual int bpp::ReverseTransliterator::reverse |
( |
int |
state | ) |
const |
throw | ( | BadIntException, |
| | Exception |
| ) | | |
|
pure virtual |
◆ reverse() [2/3]
virtual std::string bpp::ReverseTransliterator::reverse |
( |
const std::string & |
state | ) |
const |
throw | ( | BadCharException, |
| | Exception |
| ) | | |
|
pure virtual |
◆ reverse() [3/3]
◆ translate() [1/3]
virtual int bpp::Transliterator::translate |
( |
int |
state | ) |
const |
throw | ( | BadIntException, |
| | Exception |
| ) | | |
|
pure virtualinherited |
◆ translate() [2/3]
virtual std::string bpp::Transliterator::translate |
( |
const std::string & |
state | ) |
const |
throw | ( | BadCharException, |
| | Exception |
| ) | | |
|
pure virtualinherited |
◆ translate() [3/3]
The documentation for this class was generated from the following file: