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

SequencePartList Class Reference

This class assists in the restriction site layout. More...

#include <SequenceCanvas.h>

List of all members.

Public Member Functions

 SequencePartList ()
virtual ~SequencePartList ()
 Constructor.
virtual void prepare (int size)
 Prepares memory for storage (improves speed on huge sequences).
virtual void add (int id, int from, int to)
 Adds an item.
virtual void makeLevels ()
 Generates the number of necessary levels to show items non-overlapping.
virtual int here (int pos, int level)
 The item at that position at that level.
virtual int getID (int internalID)
 The "outside" ID of the item (different from the internal one).
virtual int getFrom (int internalID)
 Returns the beginning of the item.
virtual int getTo (int internalID)
 Returns the end of the item.
virtual int size ()
 Returns the size in bytes of the structure (debugging only).
virtual int getLevel (int i)

Public Attributes

int maxlevels
int slen

Private Attributes

wxArrayInt vi
wxArrayInt vl
wxArrayInt vx
wxArrayInt vy
vector< wxArrayInt > vl2
 Items per position per level.


Detailed Description

This class assists in the restriction site layout.


Constructor & Destructor Documentation

SequencePartList::SequencePartList  )  [inline]
 

virtual SequencePartList::~SequencePartList  )  [inline, virtual]
 

Constructor.


Member Function Documentation

void SequencePartList::add int  id,
int  from,
int  to
[virtual]
 

Adds an item.

int SequencePartList::getFrom int  internalID  )  [virtual]
 

Returns the beginning of the item.

int SequencePartList::getID int  internalID  )  [virtual]
 

The "outside" ID of the item (different from the internal one).

int SequencePartList::getLevel int  i  )  [virtual]
 

int SequencePartList::getTo int  internalID  )  [virtual]
 

Returns the end of the item.

int SequencePartList::here int  pos,
int  level
[virtual]
 

The item at that position at that level.

void SequencePartList::makeLevels  )  [virtual]
 

Generates the number of necessary levels to show items non-overlapping.

void SequencePartList::prepare int  size  )  [virtual]
 

Prepares memory for storage (improves speed on huge sequences).

int SequencePartList::size  )  [virtual]
 

Returns the size in bytes of the structure (debugging only).


Member Data Documentation

int SequencePartList::maxlevels
 

int SequencePartList::slen
 

wxArrayInt SequencePartList::vi [private]
 

wxArrayInt SequencePartList::vl [private]
 

vector<wxArrayInt> SequencePartList::vl2 [private]
 

Items per position per level.

wxArrayInt SequencePartList::vx [private]
 

wxArrayInt SequencePartList::vy [private]
 


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