Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
Public Member Functions | |
ValueRange (T mi, T ma) | |
ValueRange (const ValueRange< T > &vr) | |
bool | isValid () const |
bool | contains (T v, bool inclusive=true) const |
T | max () const |
T | min () const |
void | setMin (T v) |
void | setMax (T v) |
ValueRange & | operator+= (T v) |
bool | operator== (const ValueRange &vr) |
QString | toString () const |
void | set (const ValueRange< T > &vr) |
IlwisTypes | findBaseType () const |
IlwisTypes | determineType () const |
determineType determines the minimal range needed type for this range. More... | |
![]() | |
virtual IlwisTypes | valueType () const |
valueType returns the type of values contained in the range More... | |
virtual Range * | clone () const =0 |
template<typename T > | |
T * | merge (const QSharedPointer< T > &range1, const QSharedPointer< T > &range2, RenumberMap *rnm=0) |
virtual QVariant | ensure (const QVariant &v, bool inclusive=true) const |
virtual bool | contains (const QVariant &v, bool inclusive=true) const =0 |
virtual bool | isContinuous () const |
void | interpolation (const QString &ip) |
virtual QString | interpolation () const |
virtual QVariant | impliedValue (const QVariant &v) const |
Additional Inherited Members | |
![]() | |
IlwisTypes | _vt |
QString | _interpolation |
|
inlinevirtual |
determineType determines the minimal range needed type for this range.
*For example a range of numbers can be in the 32 bits range while the range contains only the numbers between 0-255, so the minimal range would be itUINT8
Reimplemented from Ilwis::Range.
|
inlinevirtual |
determines the validity of a range. This method must be implemented by each deravative
Implements Ilwis::Range.
|
inlinevirtual |
translates the string into a string representation. As each type of range has a different string representation this method has to be reimplemented by each derivative
Implements Ilwis::Range.