#include <gnSourceQualifier.h>
Inheritance diagram for gnSourceQualifier:
Public Member Functions | |
gnSourceQualifier () | |
Empty constructor. | |
gnSourceQualifier (gnBaseSource *source, string &name, uint32 begin, uint32 length) | |
Constructor, records the location and name of the qualifier in the source. | |
gnSourceQualifier (const gnSourceQualifier &s) | |
Copy constructor. | |
~gnSourceQualifier () | |
Destructor, frees memory. | |
gnSourceQualifier * | Clone () const |
string | GetName () const |
Get the name of qualifier stored in this class. | |
string | GetValue () const |
Get the qualifier stored in this class. | |
uint32 | GetNameLength () const |
Get the length of the qualifier name stored in this class. | |
uint32 | GetValueLength () const |
Get the length of the qualifier stored in this class. | |
uint32 | GetValueStart () const |
Get the qualifier's start position within the source. | |
pair< uint32, uint32 > | GetValueLoc () const |
Get the qualifier's start position and length within the source. | |
void | SetValueStart (const uint32 start) |
Set the qualifier's start position within the source. | |
void | SetValueLength (const uint32 length) |
Get the qualifier's length within the source. | |
void | SetValueLoc (const pair< uint32, uint32 > startLen) |
Set the qualifier's start position and length within the source. | |
Private Attributes | |
string | m_name |
uint32 | m_start |
uint32 | m_length |
gnBaseSource * | m_source |
They are created by gnGBKSource and other sources and placed into a gnFeature.
Definition at line 28 of file gnSourceQualifier.h.
|
Empty constructor.
Definition at line 18 of file gnSourceQualifier.cpp. References m_length, m_name, m_source, and m_start. Referenced by Clone(). |
|
Constructor, records the location and name of the qualifier in the source.
Definition at line 24 of file gnSourceQualifier.cpp. |
|
Copy constructor.
Definition at line 30 of file gnSourceQualifier.cpp. |
|
Destructor, frees memory.
Definition at line 36 of file gnSourceQualifier.cpp. |
|
Implements gnBaseQualifier. Definition at line 95 of file gnSourceQualifier.h. References gnSourceQualifier(). |
|
Get the name of qualifier stored in this class.
Implements gnBaseQualifier. Definition at line 99 of file gnSourceQualifier.h. References m_name. |
|
Get the length of the qualifier name stored in this class.
Implements gnBaseQualifier. Definition at line 103 of file gnSourceQualifier.h. |
|
Get the qualifier stored in this class.
Implements gnBaseQualifier. Definition at line 38 of file gnSourceQualifier.cpp. References Array< T >::data, m_length, m_source, gnBaseSource::Read(), and uint32. |
|
Get the length of the qualifier stored in this class.
Implements gnBaseQualifier. Definition at line 111 of file gnSourceQualifier.h. |
|
Get the qualifier's start position and length within the source.
Definition at line 115 of file gnSourceQualifier.h. |
|
Get the qualifier's start position within the source.
Definition at line 107 of file gnSourceQualifier.h. |
|
Get the qualifier's length within the source.
Definition at line 126 of file gnSourceQualifier.h. References m_length. |
|
Set the qualifier's start position and length within the source.
Definition at line 130 of file gnSourceQualifier.h. |
|
Set the qualifier's start position within the source.
Definition at line 122 of file gnSourceQualifier.h. References m_start. |
|
Definition at line 90 of file gnSourceQualifier.h. Referenced by GetValue(), GetValueLength(), GetValueLoc(), gnSourceQualifier(), SetValueLength(), and SetValueLoc(). |
|
Definition at line 89 of file gnSourceQualifier.h. Referenced by GetName(), GetNameLength(), and gnSourceQualifier(). |
|
Definition at line 91 of file gnSourceQualifier.h. Referenced by GetValue(), and gnSourceQualifier(). |
|
Definition at line 90 of file gnSourceQualifier.h. Referenced by GetValueLoc(), GetValueStart(), gnSourceQualifier(), SetValueLoc(), and SetValueStart(). |