|
Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
#include <identifieritem.h>
Public Member Functions | |
| IndexedIdentifier () | |
| IndexedIdentifier (const QString &label, quint32 ind=0, qint32 cnt=iUNDEF) | |
| QString | name () const |
| quint32 | raw () const |
| QString | prefix () const |
| void | setPrefix (const QString &pf) |
| bool | operator== (const IndexedIdentifier &item) const |
| DomainItem * | clone () const |
| IlwisTypes | valueType () const |
| bool | isValid () const |
Public Member Functions inherited from Ilwis::DomainItem | |
| DomainItem (quint32 rawvalue=iUNDEF) | |
| virtual void | raw (quint32 r) |
| template<typename ItemType > | |
| ItemType * | toType () |
Static Public Member Functions | |
| static ItemRange * | createRange () |
| static IlwisTypes | valueTypeS () |
Friends | |
| class | IndexedIdentifierRange |
Additional Inherited Members | |
Protected Attributes inherited from Ilwis::DomainItem | |
| quint32 | _raw |
The IndexedIdentifier class
| IndexedIdentifier::IndexedIdentifier | ( | ) |
Constructor for an empty IndexedIdentifier
| IndexedIdentifier::IndexedIdentifier | ( | const QString & | label, |
| quint32 | ind = 0, |
||
| qint32 | cnt = iUNDEF |
||
| ) |
Creates an IndexedIdentifier from a given label and index, and optionally a counter
| label | the label of this indentifier, will be used as a prefix |
| ind | index of this identifier, standard 0 |
| cnt | counter of this identifier, standard iUNDEF |
|
virtual |
Creates a new IndexedIdentifier with the same prefix raw and count
Implements Ilwis::DomainItem.
|
static |
Creates an itemrange according to this object
|
virtual |
|
virtual |
Query for the name of this IndexedIdentifier
normally the name equalls prefix+index(raw)
Implements Ilwis::DomainItem.
| bool IndexedIdentifier::operator== | ( | const IndexedIdentifier & | item | ) | const |
override of operator==
an IndexedIdentifier is the equal to another if both the prefix and the raw are the same
| item | item that should be compared |
| QString IndexedIdentifier::prefix | ( | ) | const |
Query to the prefix of this IndexedIdentifier
|
virtual |
Query to the index of this IndexedIdentifier without prefix
Reimplemented from Ilwis::DomainItem.
| void IndexedIdentifier::setPrefix | ( | const QString & | pf | ) |
Changes the prefix of this IndexedIdentifier to the specified value
| pf | the new prefix |
1.8.3.1