MobilityDB  1.0

◆ ensure_valid_tinstantarr()

void ensure_valid_tinstantarr ( const TInstant **  instants,
int  count,
bool  merge,
int16  subtype 
)

Ensures that all temporal instant values of the array have increasing timestamp (or may be equal if the merge parameter is true), and if they are temporal points, have the same srid and the same dimensionality.

Parameters
[in]instantsArray of temporal instants
[in]countNumber of elements in the input array
[in]mergeTrue if a merge operation, which implies that the two consecutive instants may be equal
[in]subtypeSubtype for which the function is called