![](http://www.gnu-darwin.org/hexley-gd-sm.png)
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
gnStringSpec Class ReferencegnStringSpec stores a sequence and annotation data in memory.
More...
#include <gnStringSpec.h>
Inheritance diagram for gnStringSpec::
List of all members.
Detailed Description
gnStringSpec stores a sequence and annotation data in memory.
For a more complete description see the gnBaseSpec documentation.
Definition at line 26 of file gnStringSpec.h.
Constructor & Destructor Documentation
gnStringSpec::gnStringSpec (
|
)
|
|
gnStringSpec::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.
A circular spec will be created if the end index is greater than the start. -
Parameters:
-
m_string
|
The string to read base pairs from. |
startI
|
The index to start reading base pairs from the string. |
endI
|
The index to stop reading base pairs from the string. |
revComp
|
True if the sequence is read reverse complement. |
Definition at line 22 of file gnStringSpec.cpp. |
gnStringSpec::gnStringSpec (
|
const gnStringSpec & s )
|
|
|
Copy constructor.
-
Parameters:
-
s
|
the gnStringSpec to copy. |
Definition at line 45 of file gnStringSpec.cpp. |
gnStringSpec::~gnStringSpec (
|
)
|
|
Member Function Documentation
void gnStringSpec::Clear (
|
) [virtual]
|
|
gnStringSpec * gnStringSpec::Clone (
|
) const [inline, virtual]
|
|
gnStringSpec * gnStringSpec::CloneRange (
|
const gnSeqI startI,
|
|
const gnSeqI len ) const [virtual]
|
|
|
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. -
Parameters:
-
startI
|
The first base pair to copy |
len
|
The length of the piece to copy |
-
Returns:
-
A copy of the gnStringSpec containing only the specified bases
Definition at line 66 of file gnStringSpec.cpp. |
gnBaseSource * gnStringSpec::GetSource (
|
) const [inline, virtual]
|
|
gnSeqI gnStringSpec::GetSourceLength (
|
) const [inline, virtual]
|
|
|
Get the length of the source for this spec.
-
Returns:
-
The source length.
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. |
Member Data Documentation
string gnStringSpec::m_seqString [protected]
|
|
The documentation for this class was generated from the following files:
Generated at Fri Nov 30 15:36:57 2001 for libGenome by
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001
|