|
Last change
on this file was
4912,
checked in by westram, 18 years ago
|
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | |
|---|
| 2 | /***************************************************************************** |
|---|
| 3 | * |
|---|
| 4 | * STRUCT: ALI_HELIX |
|---|
| 5 | * |
|---|
| 6 | *****************************************************************************/ |
|---|
| 7 | |
|---|
| 8 | struct ALI_HELIX { |
|---|
| 9 | unsigned int number_of_bases; |
|---|
| 10 | unsigned int start_low, start_high; |
|---|
| 11 | ALI_HELIX *next_low, *next_high; |
|---|
| 12 | ALI_HELIX *prev_low, *prev_high; |
|---|
| 13 | ALI_HELIX(unsigned int number_of_bases, unsigned int start_low, |
|---|
| 14 | unsigned int start_high); |
|---|
| 15 | }; |
|---|
| 16 | |
|---|
| 17 | /***************************************************************************** |
|---|
| 18 | * |
|---|
| 19 | * CLASS: ALI_SEC_STRUCTURE |
|---|
| 20 | * |
|---|
| 21 | *****************************************************************************/ |
|---|
| 22 | |
|---|
| 23 | class ALI_SEC_STRUCTURE { |
|---|
| 24 | ALI_HELIX *first_helix; |
|---|
| 25 | void printer(ALI_HELIX *node); |
|---|
| 26 | public: |
|---|
| 27 | ALI_SEC_STRUCTURE(); |
|---|
| 28 | ALI_SEC_STRUCTURE(unsigned int number_of_bases, unsigned int start_low, |
|---|
| 29 | unsigned int start_high); |
|---|
| 30 | ALI_SEC_STRUCTURE(ALI_SEC_STRUCTURE &ref_struct); |
|---|
| 31 | ~ALI_SEC_STRUCTURE(); |
|---|
| 32 | ALI_HELIX *copy(ALI_HELIX *ref_node); |
|---|
| 33 | void print(ALI_SEC_STRUCTURE &sec_struct); |
|---|
| 34 | int insert_node(ALI_HELIX *node); |
|---|
| 35 | }; |
|---|
Note: See
TracBrowser
for help on using the repository browser.