| 
The SEDRIS Data Representation Model
 APPENDIX D - Functions SE CompareCountIntervalValues  | 
|---|
| extern int | ||||
| SE_CompareCountIntervalValues | ||||
| ( | ||||
| const | SE_Count_Interval_Value | * | a_ptr, | (notes) | 
| const | SE_Count_Interval_Value | * | b_ptr | (notes) | 
| ); | ||||
Compares 2 SE_Count_Interval_Value types.
The comparison compares lower bounds, then uses upper bounds to break any ties ( see EDCS_CompareCountIntervals ). If the lower bound and upper bound values match, closed bounds are considered less than open bounds.
| -1 | if *a_ptr < *b_ptr | 
| 0 | if *a_ptr == *b_ptr | 
| 1 | if *a_ptr > *b_ptr | 
pointer to 1st SE_Count_Interval_Value to be compared
pointer to 2nd SE_Count_Interval_Value to be compared
Prev: SE_CompareCharacters.
Next: SE_CompareElementTypes.
Up:Index.
  |