#include <gnBaseHeader.h>
Inheritance diagram for gnBaseHeader::
Public Methods | |
gnBaseHeader () | |
virtual | ~gnBaseHeader () |
virtual gnBaseHeader* | Clone () const=0 |
virtual string | GetHeader () const=0 |
Get the header. More... | |
virtual string | GetHeaderName () const=0 |
Get the header's name, if any. More... | |
virtual uint32 | GetLength () const=0 |
Get the header's length in bytes. More... |
Headers commonly precede sequence data in several file formats. In FastA files, the header is on the > line before a contig. In GenBank files, each contig has headers describing authors and other information. In GenBank files, the header name corresponds to the name of the header field. A few genBank header names are: DEFINITION ACCESSION, VERSION, KEYWORDS, SEGMENT, SOURCE, REFERENCE, and COMMENT. Eventually, individual classes may be implemented for each header type.
Definition at line 32 of file gnBaseHeader.h.
|
Definition at line 35 of file gnBaseHeader.h. |
|
Definition at line 36 of file gnBaseHeader.h. |
|
Reimplemented from gnClone. Reimplemented in gnSourceHeader, and gnStringHeader. |
|
Get the header.
Reimplemented in gnSourceHeader, and gnStringHeader. Referenced by gnGBKSource::Write(), gnFASSource::Write(), and gnDNXSource::Write().
|
|
Get the header's name, if any.
Reimplemented in gnSourceHeader, and gnStringHeader. Referenced by gnMultiSpec::GetHeader(), and gnGBKSource::Write().
|
|
Get the header's length in bytes.
Reimplemented in gnSourceHeader, and gnStringHeader. |