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

main.h File Reference

Contains defines, global functions, includes, and the MyApp class. More...

#include "wx/wxprec.h"
#include "wx/wx.h"
#include "wx/notebook.h"
#include <wx/toolbar.h>
#include <wx/filesys.h>
#include <wx/fs_inet.h>
#include <wx/file.h>
#include <wx/dialup.h>
#include <wx/utils.h>
#include <math.h>
#include <vector>
#include "tinyxml/tinyxml.h"
#include <wx/treectrl.h>
#include <wx/listctrl.h>
#include <wx/snglinst.h>
#include <wx/laywin.h>
#include <wx/progdlg.h>
#include <wx/mimetype.h>
#include <wx/textfile.h>
#include <wx/dir.h>
#include <wx/html/helpctrl.h>
#include <wx/url.h>
#include <wx/protocol/http.h>
#include "enums.h"
#include "TVector.h"
#include "TUReadSeq.h"
#include "TPhylip.h"
#include "ipc/ipc.h"
#include "ncoils.h"
#include "CGview.h"
#include "AutoAnnotate.h"
#include "ChildBase.h"
#include "OnlineTools.h"
#include "ABItype.h"
#include "CloningAssistant.h"
#include "MiscDialogs.h"
#include "TStorage.h"
#include "TPrimer.h"
#include "TIMGreader.h"
#include "PlasmidCanvas.h"
#include "SequenceCanvas.h"
#include "TSequencingAssistantDialog.h"
#include "MyFrame.h"
#include "MyChild.h"
#include "TRestrictionEditor.h"
#include "TClone.h"
#include "GenBank.h"
#include "TPDB.h"
#include "CloneManager.h"
#include "TXMLfile.h"
#include "TVectorTree.h"
#include "TMainTree.h"
#include "RestrictionEnzymes.h"
#include "TImageDisplay.h"
#include "TVirtualGel.h"
#include "TCalculator.h"
#include "TGraph.h"
#include "TPhyloTree.h"
#include "Alignment.h"
#include "AminoAcids.h"
#include "ABIviewer.h"
#include "ExternalInterface.h"
#include "TItemEditDialog.h"
#include "PrimerDesign.h"
#include "ureadseq.h"

Defines

#define GENTLE_VERSION_MAJOR   1
#define GENTLE_VERSION_MINOR   8
#define GENTLE_VERSION_SUB   7
#define MYSPINBOXSIZE   -1
 Width of spin box, for windows only.
#define MYFONTSIZE   8
 Main tree font size.
#define MYLISTBORDER   0
#define MYPEN(_a)   (wxThePenList->FindOrCreatePen ( _a , 1 , wxSOLID ) )
 Creates or reuses a solid pen with size 1. _a is of type wxColour.
#define MYBRUSH(_a)   (wxTheBrushList->FindOrCreateBrush ( _a , wxSOLID ) )
 Creates or reuses a solid brush. _a is of type wxColour.
#define MYFONT(_a, _b, _c, _d)   (wxTheFontList->FindOrCreateFont(_a,_b,_c,_d) )
 Creates or reuses a font. Parameters are the same as wxCreateFont.
#define wxPD_ALL   (wxPD_AUTO_HIDE|wxPD_APP_MODAL|wxPD_CAN_ABORT|wxPD_ELAPSED_TIME|wxPD_ESTIMATED_TIME|wxPD_REMAINING_TIME)
 Style for Process Dialog.
#define TYPE_VECTOR   0
 Vector type.
#define TYPE_FRAGMENT   1
 Fragment type.
#define TYPE_SEQUENCE   2
 Sequence type.
#define TYPE_PRIMER   3
 Primer type.
#define TYPE_ALIGNMENT   4
 Alignment type.
#define TYPE_AMINO_ACIDS   5
 Amino acid type.
#define TYPE_MISC   6
 Misc type.
#define FEAT_NONE   0
 Do not draw feature.
#define FEAT_ALPHA   1
 Draw feature as alpha helix.
#define FEAT_BETA   2
 Draw feature as beta sheet.
#define FEAT_MUT   3
 Draw feature as mutation.
#define FEAT_NOLINE   4
 Draw feature without line.
#define FEAT_VLINE   5
 Draw feature as vertical line.
#define DAM_METHYLATION   1
 Show DAM methylation.
#define DCM_METHYLATION   2
 Show DCM methylation.
#define ALL_METHYLATION_ENZYMES   ( DAM_METHYLATION + DCM_METHYLATION )
 Show all methylations.
#define CLEAR_DELETE(__x)   { while ( !__x.IsEmpty() ) { if ( __x[0] ) { delete __x[0] ; } __x.RemoveAt ( 0 ) ; } }
 Clear wxArray of pointers and delete the not-NULL-pointer objects.
#define FILLSTRING(__x, __c, __l)   { __x = wxString ( __c , __l ) ; }
 Create a wxString of __l times the __c char.
#define PI   3.14
 Just PI.
#define IUPAC_A   1
 IUPAC bit for A.
#define IUPAC_C   2
 IUPAC bit for C.
#define IUPAC_G   4
 IUPAC bit for G.
#define IUPAC_T   8
 IUPAC bit for T.
#define MINI_DISPLAY_ORIGINAL   0
 Display mini-canvas at original width.
#define MINI_DISPLAY_REAL   1
 Display mini-canvas at real width.
#define MINI_DISPLAY_CONDENSED   2
 Display mini-canvas as condensed width.
#define myass(a, b)
#define mylog(a, b)
#define CHAR2WX(__c)   wxString((char*)l,wxConvUTF8)

Typedefs

typedef unsigned int uint

Functions

 WX_DECLARE_STRING_HASH_MAP (wxString, wxHashString)
class class class class class
class class class 
WX_DEFINE_ARRAY (ChildBase *, wxArrayChildBase)
 WX_DEFINE_ARRAY (TRestrictionEnzyme *, wxArrayTRestrictionEnzyme)
 WX_DEFINE_ARRAY (TStorage *, wxArrayTStorage)
 WX_DEFINE_ARRAY (TProtease *, wxArrayTProtease)
 WX_DEFINE_ARRAY (TVectorItem *, wxArrayTVectorItem)
 WX_DEFINE_ARRAY (SeqBasic *, wxArraySeqBasic)
 WX_DEFINE_ARRAY (TProteaseCut *, wxArrayTProteaseCut)
 WX_DECLARE_OBJARRAY (float, wxArrayFloat)
 WX_DEFINE_ARRAY (TVector *, wxArrayTVector)
void wxStringInsert (wxString &s, int from, wxString t)
 Insert wxString "t" into wxString "s" at position "from".
void explode (wxString sep, wxString s, wxArrayString &r)
 Chop wxString "s" into parts "r" separated by "sep".
wxString implode (wxString sep, wxArrayString &r)
 Join wxStrings in "r" while putting "sep"s between them.
wxString txt (wxString item)
 Returns the current language version of the "item".
wxString txt (char *item)
 Returns the current language version of the "item".
MyAppmyapp ()
 Returns a pointer to the application.
int cmpint (int *first, int *second)
 Compares the values of two int pointers.
int cmpre (TRestrictionEnzyme *first, TRestrictionEnzyme *second)
 Compares the values of two TRestrictionEnzyme pointers.


Detailed Description

Contains defines, global functions, includes, and the MyApp class.


Define Documentation

#define ALL_METHYLATION_ENZYMES   ( DAM_METHYLATION + DCM_METHYLATION )
 

Show all methylations.

#define CHAR2WX __c   )     wxString((char*)l,wxConvUTF8)
 

#define CLEAR_DELETE __x   )     { while ( !__x.IsEmpty() ) { if ( __x[0] ) { delete __x[0] ; } __x.RemoveAt ( 0 ) ; } }
 

Clear wxArray of pointers and delete the not-NULL-pointer objects.

#define DAM_METHYLATION   1
 

Show DAM methylation.

#define DCM_METHYLATION   2
 

Show DCM methylation.

#define FEAT_ALPHA   1
 

Draw feature as alpha helix.

#define FEAT_BETA   2
 

Draw feature as beta sheet.

#define FEAT_MUT   3
 

Draw feature as mutation.

#define FEAT_NOLINE   4
 

Draw feature without line.

#define FEAT_NONE   0
 

Do not draw feature.

#define FEAT_VLINE   5
 

Draw feature as vertical line.

#define FILLSTRING __x,
__c,
__l   )     { __x = wxString ( __c , __l ) ; }
 

Create a wxString of __l times the __c char.

#define GENTLE_VERSION_MAJOR   1
 

#define GENTLE_VERSION_MINOR   8
 

#define GENTLE_VERSION_SUB   7
 

#define IUPAC_A   1
 

IUPAC bit for A.

#define IUPAC_C   2
 

IUPAC bit for C.

#define IUPAC_G   4
 

IUPAC bit for G.

#define IUPAC_T   8
 

IUPAC bit for T.

#define MINI_DISPLAY_CONDENSED   2
 

Display mini-canvas as condensed width.

#define MINI_DISPLAY_ORIGINAL   0
 

Display mini-canvas at original width.

#define MINI_DISPLAY_REAL   1
 

Display mini-canvas at real width.

#define myass a,
 ) 
 

#define MYBRUSH _a   )     (wxTheBrushList->FindOrCreateBrush ( _a , wxSOLID ) )
 

Creates or reuses a solid brush. _a is of type wxColour.

#define MYFONT _a,
_b,
_c,
_d   )     (wxTheFontList->FindOrCreateFont(_a,_b,_c,_d) )
 

Creates or reuses a font. Parameters are the same as wxCreateFont.

#define MYFONTSIZE   8
 

Main tree font size.

#define MYLISTBORDER   0
 

#define mylog a,
 ) 
 

#define MYPEN _a   )     (wxThePenList->FindOrCreatePen ( _a , 1 , wxSOLID ) )
 

Creates or reuses a solid pen with size 1. _a is of type wxColour.

#define MYSPINBOXSIZE   -1
 

Width of spin box, for windows only.

#define PI   3.14
 

Just PI.

#define TYPE_ALIGNMENT   4
 

Alignment type.

#define TYPE_AMINO_ACIDS   5
 

Amino acid type.

#define TYPE_FRAGMENT   1
 

Fragment type.

#define TYPE_MISC   6
 

Misc type.

#define TYPE_PRIMER   3
 

Primer type.

#define TYPE_SEQUENCE   2
 

Sequence type.

#define TYPE_VECTOR   0
 

Vector type.

#define wxPD_ALL   (wxPD_AUTO_HIDE|wxPD_APP_MODAL|wxPD_CAN_ABORT|wxPD_ELAPSED_TIME|wxPD_ESTIMATED_TIME|wxPD_REMAINING_TIME)
 

Style for Process Dialog.


Typedef Documentation

typedef unsigned int uint
 


Function Documentation

int cmpint int *  first,
int *  second
 

Compares the values of two int pointers.

int cmpre TRestrictionEnzyme first,
TRestrictionEnzyme second
 

Compares the values of two TRestrictionEnzyme pointers.

void explode wxString  sep,
wxString  s,
wxArrayString &  r
 

Chop wxString "s" into parts "r" separated by "sep".

wxString implode wxString  sep,
wxArrayString &  r
 

Join wxStrings in "r" while putting "sep"s between them.

MyApp* myapp  ) 
 

Returns a pointer to the application.

wxString txt char *  item  ) 
 

Returns the current language version of the "item".

wxString txt wxString  item  ) 
 

Returns the current language version of the "item".

WX_DECLARE_OBJARRAY float  ,
wxArrayFloat 
 

WX_DECLARE_STRING_HASH_MAP wxString  ,
wxHashString 
 

WX_DEFINE_ARRAY TVector ,
wxArrayTVector 
 

WX_DEFINE_ARRAY TProteaseCut ,
wxArrayTProteaseCut 
 

WX_DEFINE_ARRAY SeqBasic ,
wxArraySeqBasic 
 

WX_DEFINE_ARRAY TVectorItem ,
wxArrayTVectorItem 
 

WX_DEFINE_ARRAY TProtease ,
wxArrayTProtease 
 

WX_DEFINE_ARRAY TStorage ,
wxArrayTStorage 
 

WX_DEFINE_ARRAY TRestrictionEnzyme ,
wxArrayTRestrictionEnzyme 
 

class class class class class class class class class WX_DEFINE_ARRAY ChildBase ,
wxArrayChildBase 
 

void wxStringInsert wxString &  s,
int  from,
wxString  t
 

Insert wxString "t" into wxString "s" at position "from".


Generated on Fri Aug 11 16:19:42 2006 for GENtle by  doxygen 1.4.1