|
Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
Public Member Functions | |
| ThematicItem () | |
| ThematicItem (const QStringList &parts, quint32 rawvalue=iUNDEF) | |
| QString | description () const |
| QString | code () const |
| void | description (const QString &desc) |
| void | code (const QString &code) |
| DomainItem * | clone () const |
| IlwisTypes | valueType () const |
Public Member Functions inherited from Ilwis::NamedIdentifier | |
| NamedIdentifier () | |
| NamedIdentifier (const QString &name, quint32 rawvalue=iUNDEF) | |
| bool | isValid () const |
| QString | name () const |
| void | setName (const QString &n) |
| bool | operator== (const NamedIdentifier &item) const |
Public Member Functions inherited from Ilwis::DomainItem | |
| DomainItem (quint32 rawvalue=iUNDEF) | |
| virtual void | raw (quint32 r) |
| virtual quint32 | raw () const |
| template<typename ItemType > | |
| ItemType * | toType () |
Static Public Member Functions | |
| static IlwisTypes | valueTypeS () |
Static Public Member Functions inherited from Ilwis::NamedIdentifier | |
| static Ilwis::NamedIdentifierRange * | createRange () |
| static IlwisTypes | valueTypeS () |
Additional Inherited Members | |
Protected Attributes inherited from Ilwis::DomainItem | |
| quint32 | _raw |
| ThematicItem::ThematicItem | ( | ) |
Constructs an empty ThematicItem
| ThematicItem::ThematicItem | ( | const QStringList & | parts, |
| quint32 | rawvalue = iUNDEF |
||
| ) |
Constructs a ThematicItem from a list of strings, in which the parts of this ThematicItem are specified.
The first entry in the list should be the name of this ThematicItem.
The second entry in the list should be the code of this ThematicItem.
The third entry in the list should be the description of this ThematicItem.
You are free to use less entries in the list, in case there are less entries than 3 it will drop the last field(s).
more than 3 entries however should not be used.
empty Strings should also be avoided when possible.
| parts | the list of strings or the parts |
|
virtual |
Creates a new NamedIdentifier with the same raw and name
Reimplemented from Ilwis::NamedIdentifier.
| QString ThematicItem::code | ( | ) | const |
Query for the code of this ThematicItem
| void ThematicItem::code | ( | const QString & | code | ) |
Sets a new code for this ThematicItem
| code | the new code |
| QString ThematicItem::description | ( | ) | const |
Query for the description of this ThematicItem
| void ThematicItem::description | ( | const QString & | desc | ) |
Sets a new description to this ThematicItem
| desc | the new description |
|
virtual |
1.8.3.1