#include <lightkis.h>
Public Member Functions | |
lightKIS () | |
lightKIS (GENOME_TYPE start11, GENOME_TYPE end12, GENOME_TYPE start21, GENOME_TYPE end22, char orientation) | |
lightKIS (const lightKIS< GENOME_TYPE > &elm) | |
void | nameIt (string &newName) |
string | getName () const |
char | get_Orientation () const |
lightKIS< GENOME_TYPE > & | operator= (const lightKIS< GENOME_TYPE > &elm) |
void | get_Coords (GENOME_TYPE &start11, GENOME_TYPE &end12, GENOME_TYPE &start21, GENOME_TYPE &end22) const |
bool | operator< (const lightKIS< GENOME_TYPE > &elm) const |
bool | operator> (const lightKIS< GENOME_TYPE > &elm) const |
bool | operator== (const lightKIS< GENOME_TYPE > &elm) const |
void | update (GENOME_TYPE start1, GENOME_TYPE end1, GENOME_TYPE start2, GENOME_TYPE end2) |
int | getValid () const |
void | setValid (int status) |
Private Attributes | |
GENOME_TYPE | start1 |
GENOME_TYPE | start2 |
GENOME_TYPE | end1 |
GENOME_TYPE | end2 |
char | Orientation |
int | valid |
string | name |
|
Default constructor. |
|
Secondary constructor.
|
|
Copy constructor.
|
|
Returns the details of both segments held by the calling object.
|
|
Returns the orientation of this object.
|
|
Returns the name of this object.
|
|
Returns the valid variable value of the calling object. |
|
A method which labels the object with the given string.
|
|
Operator < . Compares between this and elm according to start2 field.
|
|
Assignment operator. Copies elm's fields to the current object fields.
|
|
Operator == . Compares between this and elm according to coordinates fields (start1,start2,end1 and end2).
|
|
Operator > . Compares between this and elm according to start2 field.
|
|
Sets the value of the calling object valid variable to status.
|
|
Updates the calling object with the given values.
|
|
|
|
|
|
name is simply the label of the lightKIS object. |
|
Orientation +/- . |
|
Defines the coordinates of both segments in both genomes preserved by the object. |
|
|
|
valid is an auxiliary variable which was used in the implementation. valid is initialized with the value 1. |