#include <entry.h>
Public Member Functions | |
| Entry () | |
| Entry (const Entry< GENUM_TYPE > &ent) | |
| ~Entry () | |
| void | InseretEntry (GENUM_TYPE s_1, GENUM_TYPE e_1, GENUM_TYPE s_2, GENUM_TYPE e_2, bool sign_, const string label_) |
| void | GetS1E1 (GENUM_TYPE &start, GENUM_TYPE &end) const |
| void | GetS2E2 (GENUM_TYPE &start, GENUM_TYPE &end) const |
| void | SetS1E1 (GENUM_TYPE start, GENUM_TYPE end) |
| void | SetS2E2 (GENUM_TYPE start, GENUM_TYPE end) |
| bool | GetSign () const |
| string | GetLabel () const |
| bool | IsInUse () const |
| void | Delete () |
| Entry< GENUM_TYPE > & | operator= (const Entry< GENUM_TYPE > &ent) |
| bool | operator== (const Entry< GENUM_TYPE > &ent) const |
Private Attributes | |
| bool | InUse |
| string | Label |
| GENUM_TYPE | S1 |
| GENUM_TYPE | E1 |
| GENUM_TYPE | S2 |
| GENUM_TYPE | E2 |
| bool | Sign |
This class is used to hold the information of an entry in the table. The information that is held is: 1) The satrts and ends of the two segments. 2) The Sign of the entry, '+' means the two segments are have the same direction, '-' means they have opposite directions. 3) The label of the entry.
|
|||||||||
|
Constructor. |
|
||||||||||
|
Copy constructor. |
|
|||||||||
|
Distructor. |
|
|||||||||
|
Sets the parameter InUse to false |
|
|||||||||
|
Return the label of the entry.
|
|
||||||||||||||||
|
Gets the start and end of the first segment.
|
|
||||||||||||||||
|
Gets the start and end of the second segment.
|
|
|||||||||
|
Return the sign of the entry, true if the two segments have the same direction, false otherwise.
|
|
||||||||||||||||||||||||||||||||
|
Sets the entry's parameters.
|
|
|||||||||
|
Return true if the entry is in use.
|
|
||||||||||
|
operator =, copys all the variables of 'ent' to this . |
|
||||||||||
|
operator ==, return true if the two entries have the same label . |
|
||||||||||||||||
|
Sets the start and end of the first segment.
|
|
||||||||||||||||
|
Sets the start and end of the second segment.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
Indicates if the entry is used or not. |
|
|||||
|
The entry's label. |
|
|||||
|
Starts and Ends of organisms 1 and 2. |
|
|||||
|
|
|
|||||
|
Entry's sign, if Sign = true that means the the direction of [S1,E1] and [S2,E2] are the same, if Sign = false the directions are opposite. |
1.4.6-NO