#include <gnFastTranslator.h>
Inheritance diagram for gnFastTranslator::

Public Types | |
| enum | gnTranslatorType { ProteinDNATranslatorType, DNAProteinTranslatorType } |
Public Methods | |
| gnFastTranslator () | |
| gnFastTranslator (gnTranslatorType t_type) | |
| gnFastTranslator (const gnFastTranslator &sf) | |
| gnFastTranslator& | operator= (const gnFastTranslator &sf) |
| gnFastTranslator* | Clone () const |
| virtual void | CacheTranslator (const gnTranslator *tranny, string inputs, const gnSeqI input_width) |
| Queries the specified gnTranslator for every possible combination translation of the characters specified in the inputs string. More... | |
| virtual gnSeqC | Filter (const gnSeqC ch) const |
| Filter the given character. More... | |
| virtual void | Filter (gnSeqC **seq, uint32 &len) const |
| Filter the given character array. More... | |
| virtual void | Filter (string &seq) const |
| Filters the given string. More... | |
| void | SetDefaultChar (const gnSeqC ch1) |
| gnSeqC | GetDefaultChar () const |
| void | UseDefaultChar (const boolean use=true) |
| void | SetPair (const string &ch1, const string &ch2) |
| void | RemovePair (const string &ch) |
Static Public Methods | |
| const gnFastTranslator* | ProteinDNATranslator () |
| const gnFastTranslator* | DNAProteinTranslator () |
Private Methods | |
| void | CreateProteinDNATranslator () |
| void | CreateDNAProteinTranslator () |
Private Attributes | |
| map<string, string> | m_transCache |
| const gnTranslator* | m_translator |
| boolean | use_default |
| gnSeqC | m_defaultChar |
|
|
Definition at line 33 of file gnFastTranslator.h. |
|
|
Definition at line 26 of file gnFastTranslator.cpp. Referenced by Clone(), DNAProteinTranslator(), and ProteinDNATranslator().
|
|
|
Definition at line 39 of file gnFastTranslator.cpp. |
|
|
Definition at line 32 of file gnFastTranslator.cpp. |
|
|
Queries the specified gnTranslator for every possible combination translation of the characters specified in the inputs string. An input_width may be specified so that every possible combination of "input_width" characters in "inputs" will be cached. This is useful for DNA to protein translations, for example.
Definition at line 125 of file gnFastTranslator.cpp. Referenced by gnFastTranslator().
|
|
|
Reimplemented from gnBaseFilter. Definition at line 84 of file gnFastTranslator.h. |
|
|
|
|
|
|
|
|
Definition at line 20 of file gnFastTranslator.cpp. Referenced by gnPosSpecificTranslator::gnPosSpecificTranslator(), and main().
|
|
|
Filters the given string.
Reimplemented from gnBaseFilter. Definition at line 94 of file gnFastTranslator.cpp. |
|
|
Filter the given character array.
Reimplemented from gnBaseFilter. Definition at line 63 of file gnFastTranslator.cpp. |
|
|
Filter the given character.
Reimplemented from gnBaseFilter. Definition at line 54 of file gnFastTranslator.cpp. Referenced by main().
|
|
|
Definition at line 96 of file gnFastTranslator.h. |
|
|
Definition at line 16 of file gnFastTranslator.cpp. Referenced by gnPosSpecificTranslator::gnPosSpecificTranslator().
|
|
|
|
|
|
Definition at line 90 of file gnFastTranslator.h. |
|
|
|
|
|
Definition at line 102 of file gnFastTranslator.h. |
|
|
|
|
|
Definition at line 80 of file gnFastTranslator.h. |
|
|
Definition at line 76 of file gnFastTranslator.h. |
|
|
Definition at line 77 of file gnFastTranslator.h. |
|
|
Definition at line 79 of file gnFastTranslator.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001