Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TLigationDialog Class Reference

The ligation dialog class. More...

#include <TLigationDialog.h>

List of all members.

Public Member Functions

 TLigationDialog (wxWindow *parent, const wxString &title)
 Constructor.
 ~TLigationDialog ()
 Destructor.
virtual void init ()
 Initialize.
virtual void generateTargets ()
 Generate the target list.
virtual void curseTargets (vector< bool > &vc, vector< bool > &used, wxArrayInt &vi)
 Recurse through targets.
virtual bool doMatch (int l, int r, bool invertSecond=false)
 Do these match?
virtual wxString getVIName (wxArrayInt &vi)
 Generate a name.
virtual void addVTname (wxString name, wxArrayInt &vi, bool circular)
 Add this one.
virtual void OnCharHook (wxKeyEvent &event)
 Key event handler.
virtual void OnToggleSources (wxCommandEvent &ev)
 Toggle source list event handler.
virtual void OnOK (wxCommandEvent &ev)
 OK button event handler.
virtual void OnCancel (wxCommandEvent &ev)
 Cancel button event handler.

Public Attributes

wxCheckListBox * l_sources
wxCheckListBox * l_targets
wxArrayTVector vv
vector< TVectorligates
wxArrayString vt
vector< bool > orientation
bool doLigate

Private Member Functions

virtual wxString invert (wxString s)
 Invert the string.

Private Attributes

wxTextCtrl * message


Detailed Description

The ligation dialog class.


Constructor & Destructor Documentation

TLigationDialog::TLigationDialog wxWindow *  parent,
const wxString &  title
 

Constructor.

TLigationDialog::~TLigationDialog  ) 
 

Destructor.


Member Function Documentation

void TLigationDialog::addVTname wxString  name,
wxArrayInt &  vi,
bool  circular
[virtual]
 

Add this one.

void TLigationDialog::curseTargets vector< bool > &  vc,
vector< bool > &  used,
wxArrayInt &  vi
[virtual]
 

Recurse through targets.

bool TLigationDialog::doMatch int  l,
int  r,
bool  invertSecond = false
[virtual]
 

Do these match?

void TLigationDialog::generateTargets  )  [virtual]
 

Generate the target list.

wxString TLigationDialog::getVIName wxArrayInt &  vi  )  [virtual]
 

Generate a name.

void TLigationDialog::init  )  [virtual]
 

Initialize.

wxString TLigationDialog::invert wxString  s  )  [private, virtual]
 

Invert the string.

void TLigationDialog::OnCancel wxCommandEvent &  ev  )  [virtual]
 

Cancel button event handler.

void TLigationDialog::OnCharHook wxKeyEvent &  event  )  [virtual]
 

Key event handler.

void TLigationDialog::OnOK wxCommandEvent &  ev  )  [virtual]
 

OK button event handler.

void TLigationDialog::OnToggleSources wxCommandEvent &  ev  )  [virtual]
 

Toggle source list event handler.


Member Data Documentation

bool TLigationDialog::doLigate
 

wxCheckListBox* TLigationDialog::l_sources
 

wxCheckListBox * TLigationDialog::l_targets
 

vector<TVector> TLigationDialog::ligates
 

wxTextCtrl* TLigationDialog::message [private]
 

vector<bool> TLigationDialog::orientation
 

wxArrayString TLigationDialog::vt
 

wxArrayTVector TLigationDialog::vv
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:48 2006 for GENtle by  doxygen 1.4.1