|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
gnSourceHeader Class ReferencegnSourceHeader is used to store a sequence header which resides in another source.
More...
#include <gnSourceHeader.h>
Inheritance diagram for gnSourceHeader::
List of all members.
Detailed Description
gnSourceHeader is used to store a sequence header which resides in another source.
gnSourceHeaders are created by gnSEQSource and other sources and placed into a spec.
Definition at line 30 of file gnSourceHeader.h.
Constructor & Destructor Documentation
gnSourceHeader::gnSourceHeader (
|
)
|
|
|
Constructor, records the header's name and byte offset in the source.
-
Parameters:
-
source
|
The source which contains the header. |
name
|
The name of the header. |
begin
|
The offset into the source where the header starts. |
length
|
The length of the header. |
Definition at line 24 of file gnSourceHeader.cpp. |
gnSourceHeader::gnSourceHeader (
|
const gnSourceHeader & s )
|
|
|
Copy constructor.
-
Parameters:
-
s
|
The gnSourceHeader to copy. |
Definition at line 30 of file gnSourceHeader.cpp. |
gnSourceHeader::~gnSourceHeader (
|
)
|
|
Member Function Documentation
gnSourceHeader * gnSourceHeader::Clone (
|
) const [inline, virtual]
|
|
string gnSourceHeader::GetHeader (
|
) const [virtual]
|
|
pair< uint32, uint32 > gnSourceHeader::GetHeaderLoc (
|
) const [inline]
|
|
|
Get the header's start position and length within the source.
-
Returns:
-
The header start position and length as a pair.
Definition at line 115 of file gnSourceHeader.h. |
string gnSourceHeader::GetHeaderName (
|
) const [inline, virtual]
|
|
uint32 gnSourceHeader::GetHeaderStart (
|
) const [inline]
|
|
|
Get the header's start position within the source.
-
Returns:
-
The byte offset of the header's start position.
Definition at line 107 of file gnSourceHeader.h. |
uint32 gnSourceHeader::GetLength (
|
) const [inline, virtual]
|
|
void gnSourceHeader::SetHeaderLength (
|
const uint32 length ) [inline]
|
|
|
Get the header's length within the source.
-
Parameters:
-
length
|
The header length. |
Definition at line 126 of file gnSourceHeader.h. |
void gnSourceHeader::SetHeaderLoc (
|
const pair< uint32, uint32 > startLen ) [inline]
|
|
|
Set the header's start position and length within the source.
-
Parameters:
-
startLen
|
The header start position and length as a pair. |
Definition at line 130 of file gnSourceHeader.h. |
void gnSourceHeader::SetHeaderStart (
|
const uint32 start ) [inline]
|
|
|
Set the header's start position within the source.
-
Parameters:
-
start
|
The header start position. |
Definition at line 122 of file gnSourceHeader.h. |
Member Data Documentation
uint32 gnSourceHeader::m_length [private]
|
|
string gnSourceHeader::m_name [private]
|
|
uint32 gnSourceHeader::m_start [private]
|
|
The documentation for this class was generated from the following files:
Generated at Fri Nov 30 15:36:56 2001 for libGenome by
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001
|