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

TClone Class Reference

The CLONE format import/export class. More...

#include <TClone.h>

List of all members.

Public Member Functions

 TClone ()
 Constructor.
 ~TClone ()
 Destructor.
void remap (TVector *v)
 Convert parsed information to TVector.
void load (wxString s)
 Load CLONE format file.
void save (wxString s=_T(""))
 Save CLONE format file (currently deactivated).
void loadEnzymeList (TStorage *st, wxString filename)
 Load the CLONE format enzyme list.

Public Attributes

TStorageLS
 Pointer to the local database.
bool success
 Errors during parsing?

Private Member Functions

void cleanup ()
 Reset internal state.
void parseLines (wxArrayString &v, char *t, long l)
 Breaks text into lines.
void separateNames (wxString &s1, wxString &s2)
 ???
int cmp (const wxString &s1, const wxString &s2)
 String comparison.
int a2i (wxString &s)
 Converts string to integer.

Private Attributes

wxString filename
wxString name
wxString sequence
wxString description
int size
 Sequence length.
bool isLinear
 Linear or circular.
vector< TClone_Enzymeenzymes
 Temporary list of enzymes.
vector< TClone_Genegenes
 Temporary list of items.
wxString linear_e1
wxString linear_e2
wxString linear_s1
wxString linear_s2


Detailed Description

The CLONE format import/export class.


Constructor & Destructor Documentation

TClone::TClone  ) 
 

Constructor.

TClone::~TClone  ) 
 

Destructor.


Member Function Documentation

int TClone::a2i wxString &  s  )  [inline, private]
 

Converts string to integer.

void TClone::cleanup  )  [private]
 

Reset internal state.

int TClone::cmp const wxString &  s1,
const wxString &  s2
[private]
 

String comparison.

void TClone::load wxString  s  ) 
 

Load CLONE format file.

void TClone::loadEnzymeList TStorage st,
wxString  filename
 

Load the CLONE format enzyme list.

void TClone::parseLines wxArrayString &  v,
char *  t,
long  l
[private]
 

Breaks text into lines.

void TClone::remap TVector v  ) 
 

Convert parsed information to TVector.

void TClone::save wxString  s = _T("")  ) 
 

Save CLONE format file (currently deactivated).

void TClone::separateNames wxString &  s1,
wxString &  s2
[private]
 

???


Member Data Documentation

wxString TClone::description [private]
 

vector<TClone_Enzyme> TClone::enzymes [private]
 

Temporary list of enzymes.

wxString TClone::filename [private]
 

vector<TClone_Gene> TClone::genes [private]
 

Temporary list of items.

bool TClone::isLinear [private]
 

Linear or circular.

wxString TClone::linear_e1 [private]
 

wxString TClone::linear_e2 [private]
 

wxString TClone::linear_s1 [private]
 

wxString TClone::linear_s2 [private]
 

TStorage* TClone::LS
 

Pointer to the local database.

wxString TClone::name [private]
 

wxString TClone::sequence [private]
 

int TClone::size [private]
 

Sequence length.

bool TClone::success
 

Errors during parsing?


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