|
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.
|