#include <gnSourceSpec.h>
Inheritance diagram for gnSourceSpec::
Public Methods | |
gnSourceSpec () | |
Empty constructor. More... | |
gnSourceSpec (gnBaseSource *m_pSource, const uint32 m_ContigIndex=ALL_CONTIGS, const gnSeqI start=0, const gnSeqI endI=GNSEQI_END, const boolean revComp=false) | |
Constructor, creates a gnSourceSpec using sequence data in the given source. More... | |
gnSourceSpec (const gnSourceSpec &s) | |
Copy constructor. More... | |
~gnSourceSpec () | |
gnSourceSpec* | 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 gnSourceSpec* | CloneRange (const gnSeqI startI, const gnSeqI len) const |
Copies a specified range of bases and returns a pointer to the resulting gnSourceSpec. 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 | |
gnBaseSource* | m_pSource |
Definition at line 27 of file gnSourceSpec.h.
|
Empty constructor.
Definition at line 16 of file gnSourceSpec.cpp. Referenced by Clone(), and CloneRange().
|
|
Constructor, creates a gnSourceSpec using sequence data in the given source. A circular spec will be created if the end index is greater than the start.
Definition at line 33 of file gnSourceSpec.cpp. |
|
Copy constructor.
Definition at line 21 of file gnSourceSpec.cpp. |
|
Definition at line 63 of file gnSourceSpec.cpp. |
|
Clears all data from this spec.
Reimplemented from gnContigSpec. Definition at line 67 of file gnSourceSpec.cpp. Referenced by gnSourceSpec().
|
|
Reimplemented from gnContigSpec. Definition at line 74 of file gnSourceSpec.h. |
|
Copies a specified range of bases and returns a pointer to the resulting gnSourceSpec. You must delete the copy when you are finished with it.
Definition at line 74 of file gnSourceSpec.cpp. |
|
Definition at line 83 of file gnSourceSpec.h. |
|
Get the length of the source for this spec.
Reimplemented from gnContigSpec. Definition at line 79 of file gnSourceSpec.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 89 of file gnSourceSpec.h. |
|
Definition at line 69 of file gnSourceSpec.h. |