WRAPPER_API bool operator!=(const [Type] &value) const
Above, [Type] is a placeholder for the class name of the objects to be compared.
Many classes in GeoCalc overload the == (equal) operator. The use of this operator will always produce the same result that the use of the ValueEquals method will produce.
The following example shows how to use the != operator with the DatumShift object, but the usage is the same for all objects.
void EqualOperator(GEOCALCPBW_NAMESPACE::DatumShift * ds1, GEOCALCPBW_NAMESPACE::DatumShift * ds2)
{
if(*ds1 == *ds2)
{
// then *ds1 and *ds2 are equal (ValueEquals(*ds1, *ds2) => true)
}
}