#include <gnSourceHeader.h>
Inheritance diagram for gnSourceHeader::

Public Methods | |
| gnSourceHeader () | |
| Empty constructor. More... | |
| gnSourceHeader (gnBaseSource *source, const string &name, const uint32 begin, const uint32 length) | |
| Constructor, records the header's name and byte offset in the source. More... | |
| gnSourceHeader (const gnSourceHeader &s) | |
| Copy constructor. More... | |
| ~gnSourceHeader () | |
| Destructor, frees memory. More... | |
| gnSourceHeader* | Clone () const |
| string | GetHeader () const |
| Get the header. More... | |
| string | GetHeaderName () const |
| Get the header's name, if any. More... | |
| uint32 | GetLength () const |
| Not implemented, use gnStringHeader. More... | |
| uint32 | GetHeaderStart () const |
| Get the header's start position within the source. More... | |
| pair<uint32, uint32> | GetHeaderLoc () const |
| Get the header's start position and length within the source. More... | |
| void | SetHeaderStart (const uint32 start) |
| Set the header's start position within the source. More... | |
| void | SetHeaderLength (const uint32 length) |
| Get the header's length within the source. More... | |
| void | SetHeaderLoc (const pair< uint32, uint32 > startLen) |
| Set the header's start position and length within the source. More... | |
Private Attributes | |
| string | m_name |
| uint32 | m_start |
| uint32 | m_length |
| gnBaseSource* | m_source |
gnSourceHeaders are created by gnSEQSource and other sources and placed into a spec.
Definition at line 30 of file gnSourceHeader.h.
|
|
Empty constructor.
Definition at line 19 of file gnSourceHeader.cpp. Referenced by Clone().
|
|
|
Constructor, records the header's name and byte offset in the source.
Definition at line 24 of file gnSourceHeader.cpp. |
|
|
Copy constructor.
Definition at line 30 of file gnSourceHeader.cpp. |
|
|
Destructor, frees memory.
Definition at line 36 of file gnSourceHeader.cpp. |
|
|
Reimplemented from gnBaseHeader. Definition at line 99 of file gnSourceHeader.h. |
|
|
Get the header.
Reimplemented from gnBaseHeader. Definition at line 38 of file gnSourceHeader.cpp. |
|
|
Get the header's start position and length within the source.
Definition at line 115 of file gnSourceHeader.h. |
|
|
Get the header's name, if any.
Reimplemented from gnBaseHeader. Definition at line 103 of file gnSourceHeader.h. |
|
|
Get the header's start position within the source.
Definition at line 107 of file gnSourceHeader.h. |
|
|
Not implemented, use gnStringHeader.
Reimplemented from gnBaseHeader. Definition at line 111 of file gnSourceHeader.h. |
|
|
Get the header's length within the source.
Definition at line 126 of file gnSourceHeader.h. |
|
|
Set the header's start position and length within the source.
Definition at line 130 of file gnSourceHeader.h. |
|
|
Set the header's start position within the source.
Definition at line 122 of file gnSourceHeader.h. |
|
|
Definition at line 94 of file gnSourceHeader.h. |
|
|
Definition at line 93 of file gnSourceHeader.h. |
|
|
Definition at line 95 of file gnSourceHeader.h. |
|
|
Definition at line 94 of file gnSourceHeader.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001