#include <gnBaseHeader.h>
Inheritance diagram for gnBaseHeader:
Public Member Functions | |
virtual gnBaseHeader * | Clone () const =0 |
virtual string | GetHeader () const =0 |
Get the header. | |
virtual string | GetHeaderName () const =0 |
Get the header's name, if any. | |
virtual uint32 | GetLength () const =0 |
Get the header's length in bytes. | |
gnBaseHeader () | |
virtual | ~gnBaseHeader () |
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 31 of file gnBaseHeader.h.
|
Definition at line 34 of file gnBaseHeader.h. |
|
Definition at line 35 of file gnBaseHeader.h. |
|
Implements gnClone.
Implemented in gnSourceHeader, and gnStringHeader.
|
|
Get the header.
Implemented in gnSourceHeader, and gnStringHeader.
Referenced by gnGBKSource::Write(), gnFASSource::Write(), gnDNXSource::Write(), and WriteHeader(). |
|
Get the header's name, if any.
Implemented in gnSourceHeader, and gnStringHeader.
Referenced by gnGBKSource::Write(). |
|
Get the header's length in bytes.
Implemented in gnSourceHeader, and gnStringHeader.
|