ARB
Public Member Functions | List of all members
TransTables Class Reference

#include <AP_codon_table.hxx>

Public Member Functions

 TransTables ()
 
bool is_allowed (int nr) const
 
bool any () const
 
bool none () const
 
bool all () const
 
void allow (int nr)
 
void forbid (int nr)
 
void forbid (const TransTables &other)
 
void allowAll ()
 
void forbidAll ()
 
void forbidAllBut (int nr)
 
int explicit_table () const
 
bool is_subset_of (const TransTables &other) const
 
const charto_string (TranslationTableIndexType type) const
 

Detailed Description

Definition at line 63 of file AP_codon_table.hxx.

Constructor & Destructor Documentation

TransTables::TransTables ( )
inline

Definition at line 69 of file AP_codon_table.hxx.

References allowAll().

Member Function Documentation

bool TransTables::is_allowed ( int  nr) const
inline

Definition at line 71 of file AP_codon_table.hxx.

Referenced by AWT_is_codon(), and to_string().

bool TransTables::any ( ) const
inline

Definition at line 72 of file AP_codon_table.hxx.

Referenced by ALI_realign_marked(), AWT_is_codon(), and explicit_table().

bool TransTables::none ( ) const
inline

Definition at line 73 of file AP_codon_table.hxx.

Referenced by AWT_is_codon().

bool TransTables::all ( ) const
inline

Definition at line 74 of file AP_codon_table.hxx.

References ALL_TABLES_MASK.

Referenced by AWT_is_codon().

void TransTables::allow ( int  nr)
inline

Definition at line 76 of file AP_codon_table.hxx.

Referenced by AWT_is_codon().

void TransTables::forbid ( int  nr)
inline

Definition at line 77 of file AP_codon_table.hxx.

Referenced by AWT_is_codon().

void TransTables::forbid ( const TransTables other)
inline

Definition at line 78 of file AP_codon_table.hxx.

void TransTables::allowAll ( )
inline

Definition at line 80 of file AP_codon_table.hxx.

References ALL_TABLES_MASK, AWT_CODON_TABLES, and STATIC_ASSERT.

Referenced by TransTables().

void TransTables::forbidAll ( )
inline

Definition at line 84 of file AP_codon_table.hxx.

Referenced by AWT_is_codon().

void TransTables::forbidAllBut ( int  nr)
inline

Definition at line 85 of file AP_codon_table.hxx.

Referenced by ALI_realign_marked(), and AWT_translator::isStartOrStopCodon().

int TransTables::explicit_table ( ) const
inline

Definition at line 87 of file AP_codon_table.hxx.

References any(), AWT_CODON_TABLES, and pn_assert.

Referenced by ALI_realign_marked(), and AWT_is_codon().

bool TransTables::is_subset_of ( const TransTables other) const
inline
const char* TransTables::to_string ( TranslationTableIndexType  type) const
inline

Definition at line 102 of file AP_codon_table.hxx.

References AWT_CODON_TABLES, buffer, is_allowed(), pn_assert, TTIT_ARB, and TTIT_arb2embl().

Referenced by AWT_is_codon().


The documentation for this class was generated from the following file: