Value :: operator> - Compare two property instances (greater)
The operation compares the two operands and returns true, when the first operand is greater than the second operand and false otherwise.
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- - internal feature (not documented)
Value :: operator> ( i64Value ) - - internal feature (not documented)
Value :: operator> ( bValue ) - Compare with date
Value :: operator> ( cDate ) - - internal feature (not documented)
Value :: operator> ( cDateTime ) - Compare with double
Value :: operator> ( vDouble ) - Compare with integer
Value :: operator> ( iValue ) - - internal feature (not documented)
Value :: operator> ( sString ) - Compare with time
Value :: operator> ( cTime ) - Compare with value
Value :: operator> ( cValue )
Implementation details
- to list
- to list
-
Compare with date
bool Value  :: operator> ( odaba::Date &cDate )
This implementation compares the value with the date passed in cDate. Data conversion is performed for the passed value when required. Converting date values to string values may result in different string values for the same date value depending on the national setting. Hence, string values should not be compared with date values. In this case it is more appropriate to compare the date values directly by calling toDate().
- cDate
- Date
The date contains day, month and year, but not the time.
to list
- cDate
- Date
-
- internal feature (not documented)
bool Value  :: operator> ( odaba::DateTime &cDateTime )
- cDateTime
- Time stamp
A time stamp combines date and time
to list
- cDateTime
- Time stamp
- to list
-
Compare with integer
bool Value  :: operator> ( int32 iValue )
This implementation compares the value with the integer value passed in iValue. Data conversion is performed for the passed value when required.
- iValue
- Integer value
The value is passed as platform independent 32-bit integer value.
to list
- iValue
- Integer value
-
- internal feature (not documented)
bool Value  :: operator> ( odaba::String &sString )
- sString - String value
to list
-
Compare with time
bool Value  :: operator> ( odaba::Time &cTime )
This implementation compares the value with the time passed in cTime. Data conversion is performed for the passed value when required. Converting date values to string values may result in different string values for the same time value depending on the national setting. Hence, string values should not be compared with time values, directly. In this case, it is more appropriate to compare the time value directly by calling toTime().
- cTime
- Time value
The time value is passed in the ODABA Interface::Time format and provides time in 1/100th seconds.
to list
- cTime
- Time value
-
Compare with value
bool Value  :: operator> ( odaba::Value &cValue )
This implementation compares the value with the value passed in cValue. Data conversion is performed for cValue when required.
- cValue
- Value handle
A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.
to list
- cValue
- Value handle