|
The SEDRIS Data Representation Model
APPENDIX D - Functions SE CompareElementTypes |
|---|
| extern int | ||||
| SE_CompareElementTypes | ||||
| ( | ||||
| const | SE_Element_Type | * | a_ptr, | (notes) |
| const | SE_Element_Type | * | b_ptr | (notes) |
| ); | ||||
When comparing:
elements with different code_types: compares code_types
elements with the same code_type: compares code values
| -1 | if *a_ptr < *b_ptr |
| 0 | if *a_ptr == *b_ptr |
| 1 | if *a_ptr > *b_ptr |
pointer to 1st SE_Element_Type to be compared
pointer to 2nd SE_Element_Type to be compared
Prev: SE_CompareCountIntervalValues.
Next: SE_CompareFloatIntervalValues.
Up:Index.
|