The SEDRIS Data Representation Model
APPENDIX D - Functions SE ComparePropertyCodes |
---|
extern int | ||||
SE_ComparePropertyCodes | ||||
( | ||||
const | SE_Property_Code | * | a_ptr, | 1 |
const | SE_Property_Code | * | b_ptr | 2 |
); |
When comparing:
elements with different code_types: compares code_types
elements with the same code_type: compares code values
-1 | if a_ptr is NULL and b_ptr is non-NULL, or *a_ptr < *b_ptr |
0 | if both arguments are NULL, or *a_ptr == *b_ptr |
1 | if b_ptr is NULL and a_ptr is non-NULL, or *a_ptr > *b_ptr |
1 pointer to 1st SE_Property_Code to be compared
2 pointer to 2nd SE_Property_Code to be compared
Prev: SE_CompareLongFloatIntervalValues.
Next: SE_CompareSingleValues.
Up:Index.
|