Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
Public Member Functions | |
NumericItem () | |
NumericItem (const QString label, const NumericRange &vr) | |
bool | isValid () const |
QString | name () const |
name returns the name of an object. All objects have names though names need not to be unique More... | |
DomainItem * | clone () const |
IlwisTypes | valueType () const |
NumericRange | range () const |
void | range (const NumericRange &valuerange) |
void | clear () |
![]() | |
DomainItem (quint32 rawvalue=iUNDEF) | |
virtual void | raw (quint32 r) |
virtual quint32 | raw () const |
template<typename ItemType > | |
ItemType * | toType () |
![]() | |
virtual void | setCode (const QString &code) |
sets the code for this instance More... | |
QString | code () const |
code returns the code of the identity. If no code is attached it will return sUNDEF ("?"). More... | |
quint64 | id () const |
id returns a unsigned 64-bit number unique for the objects using the identity More... | |
void | setName (const QString &n) |
setName sets the name of an object. All objects have names though names need not to be unique More... | |
virtual QString | description () const |
void | setDescription (const QString &desc) |
Static Public Member Functions | |
static Ilwis::NumericItemRange * | createRange () |
static IlwisTypes | valueTypeS () |
Friends | |
class | NumericItemRange |
Additional Inherited Members | |
![]() | |
Identity (const QString &name, qint64 id=i64UNDEF, const QString &cde=sUNDEF, const QString &descr=sUNDEF) | |
void | prepare (quint64 base=0) |
void | setId (quint64 newid) |
![]() | |
quint32 | _raw |
NumericItem::NumericItem | ( | ) |
Constructor for an empty NumericItem
NumericItem::NumericItem | ( | const QString | label, |
const NumericRange & | vr | ||
) |
Constructor for a NumericItem with range vr.
vr must be valid. vr will be set as the range of this item.
vr | the NumericRange of this item |
void NumericItem::clear | ( | ) |
Clears the item range on this item.
|
virtual |
Clones this DomainItem
a clone should fully copy all the internal members of a item onto the new item
Implements Ilwis::DomainItem.
|
static |
Creates a empty new NumericItemRange and returns this
|
virtual |
Checks the validity of this DomainItem
when a item is valid depends on the implementation
Implements Ilwis::DomainItem.
|
virtual |
name returns the name of an object. All objects have names though names need not to be unique
Reimplemented from Ilwis::Identity.
NumericRange NumericItem::range | ( | ) | const |
Query for the range of this NumericItem.
Returns the numeric range of this item, if the range is not set it will return null
void NumericItem::range | ( | const NumericRange & | valuerange | ) |
Sets a new NumericRange on this NumericItem.
The new range must be valid.
valuerange | the new range |