#include <gnStringSpec.h>
Inheritance diagram for gnStringSpec::

Public Methods | |
| gnStringSpec () | |
| Empty constructor. More... | |
| gnStringSpec (const string &m_string, const gnSeqI start=0, const gnSeqI endI=GNSEQI_END, const boolean revComp=false) | |
| Constructor, creates a gnStringSpec using sequence data in the given string. More... | |
| gnStringSpec (const gnStringSpec &s) | |
| Copy constructor. More... | |
| ~gnStringSpec () | |
| gnStringSpec* | Clone () const |
| virtual void | Clear () |
| Clears all data from this spec. More... | |
| virtual gnSeqI | GetSourceLength () const |
| Get the length of the source for this spec. More... | |
| virtual gnBaseSource* | GetSource () const |
| virtual gnStringSpec* | CloneRange (const gnSeqI startI, const gnSeqI len) const |
| Copies a specified range of bases and returns a pointer to the resulting gnStringSpec. More... | |
Protected Methods | |
| virtual boolean | Read (const gnSeqI start, gnSeqC *buf, uint32 &bufLen) const |
| all derived classes must implement this! it simply reads the specified bases into buf, disregarding circularity and reverse complement. More... | |
Protected Attributes | |
| string | m_seqString |
For a more complete description see the gnBaseSpec documentation.
Definition at line 26 of file gnStringSpec.h.
|
|
Empty constructor.
Definition at line 17 of file gnStringSpec.cpp. Referenced by Clone(), and CloneRange().
|
|
|
Constructor, creates a gnStringSpec using sequence data in the given string. A circular spec will be created if the end index is greater than the start.
Definition at line 22 of file gnStringSpec.cpp. |
|
|
Copy constructor.
Definition at line 45 of file gnStringSpec.cpp. |
|
|
Definition at line 56 of file gnStringSpec.cpp. |
|
|
Clears all data from this spec.
Reimplemented from gnContigSpec. Definition at line 60 of file gnStringSpec.cpp. Referenced by gnStringSpec(), and ~gnStringSpec().
|
|
|
Reimplemented from gnContigSpec. Definition at line 76 of file gnStringSpec.h. |
|
|
Copies a specified range of bases and returns a pointer to the resulting gnStringSpec. You must delete the copy when you are finished with it.
Definition at line 66 of file gnStringSpec.cpp. |
|
|
Definition at line 85 of file gnStringSpec.h. |
|
|
Get the length of the source for this spec.
Reimplemented from gnContigSpec. Definition at line 81 of file gnStringSpec.h. |
|
|
all derived classes must implement this! it simply reads the specified bases into buf, disregarding circularity and reverse complement.
Reimplemented from gnContigSpec. Definition at line 91 of file gnStringSpec.h. |
|
|
Definition at line 71 of file gnStringSpec.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001