Closed pokulo closed 10 years ago
The implementation of value has been more a "toString" implementation, so we skip all the conversion here and might introduce a toString method separately.
On this occasion we should change the return type of Domain::value to QVariant and move the numericrange.h/.cpp from utils into ilwisobjects/domain/
will move the numericrange; the value method has been renamed to impliedValue and returns a QVariant. toString is possible but it maps impliedValue (though return type is different) fairly closely so I dont think at this moment it is needed
a table cell of type value (Domain), which was not yet defined, contains rUNDEF. retreaving its value we go here, here and here but there is no check on UNDEF before converting it into QString. So in the end (in this case Python) I get
(qint64)rUNDEF
which is neither Const.rUNDEF nor Const.i64UNDEF. So no way of handling this externaly!