|
IlwisTypes | _vt |
|
QString | _interpolation |
|
NamedIdentifierRange::NamedIdentifierRange |
( |
| ) |
|
void NamedIdentifierRange::add |
( |
DomainItem * |
item | ) |
|
|
virtual |
void NamedIdentifierRange::add |
( |
SPDomainItem |
item | ) |
|
|
virtual |
Range * NamedIdentifierRange::clone |
( |
| ) |
const |
|
virtual |
Creates a clone of this range
- Returns
- a clone of this range
Implements Ilwis::Range.
bool NamedIdentifierRange::contains |
( |
const QVariant & |
name, |
|
|
bool |
inclusive = true |
|
) |
| const |
|
virtual |
quint32 NamedIdentifierRange::count |
( |
| ) |
const |
|
virtual |
Returns the current count.
- Returns
- the current count
Implements Ilwis::ItemRange.
qint32 NamedIdentifierRange::gotoIndex |
( |
qint32 |
index, |
|
|
qint32 |
step |
|
) |
| const |
|
virtual |
calculates the next index based on the current index and the size of the step cannot go below 0 or over the count limit
- Parameters
-
index | the current index |
step | the size of the step, can be negative |
- Returns
- the new index( 0=>result <=count)
Implements Ilwis::ItemRange.
QVariant NamedIdentifierRange::impliedValue |
( |
const QVariant & |
v | ) |
const |
|
virtual |
Returns the value at a certain Index, will fail if the supplied QVariant is invalid
- Parameters
-
v | the QVariant with the index |
- Returns
- the value at the index or sUNDEF
Implements Ilwis::ItemRange.
void Ilwis::NamedIdentifierRange::interpolation |
( |
const QString & |
| ) |
|
|
inline |
bool NamedIdentifierRange::isContinuous |
( |
| ) |
const |
|
virtual |
bool NamedIdentifierRange::isValid |
( |
| ) |
const |
|
virtual |
SPDomainItem NamedIdentifierRange::item |
( |
quint32 |
iraw | ) |
const |
|
virtual |
Tries to find a NamedIdentifier in this range with the same raw value as specified. if it fails it will return an empty domain item
- Parameters
-
- Returns
- the requested NamedIdentifier or an empty SPDomainItem
Implements Ilwis::ItemRange.
SPDomainItem NamedIdentifierRange::item |
( |
const QString & |
nam | ) |
const |
|
virtual |
SPDomainItem NamedIdentifierRange::itemByOrder |
( |
quint32 |
index | ) |
const |
|
virtual |
merges 2 NamedIdentifierRange 's into one
- Parameters
-
nr1 | one of the IndexedIdentifierRanges to be merged |
nr2 | one of the IndexedIdentifierRanges to be merged |
rnm | specification of how to renumber the new range default=0 |
- Returns
- the result of the merging
override of the << operator, the << operator now adds the string as a NamedIdentifier into this range
- Parameters
-
- Returns
- this with an extra identifier
bool NamedIdentifierRange::operator== |
( |
const ItemRange & |
range | ) |
const |
Compares another NamedIdentifierRange with this one
- Parameters
-
- Returns
- true when they are the same (equal)
void NamedIdentifierRange::remove |
( |
const QString & |
item | ) |
|
|
virtual |
QString NamedIdentifierRange::toString |
( |
| ) |
const |
|
virtual |
Creates a String representation of this object
- Returns
- a string
Implements Ilwis::Range.
The documentation for this class was generated from the following files: