Value :: canCompare - Check values for comparability
The function checks the comparability for the data of two value handles. Usually values are considered as comparable when they have the same type.
When requesting data conversion (passing true for bConvert) the function checks, whether the values are comparable after conversion.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation details
bool
Value  :: canCompare ( odaba::Value &cValue, bool bConvert )
- cValue
- Value handle
A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.
- bConvert
- Conversion option
In order to allow data conversion, the value must be set to true. In order to suppress data conversion false should be passed.