MobilityDB 1.3
Loading...
Searching...
No Matches

◆ VALIDATE_TGEOMETRY

#define VALIDATE_TGEOMETRY (   temp,
  ret 
)
Value:
do { \
if (! ensure_not_null((void *) (temp)) || \
return (ret); \
} while (0)
@ T_TGEOMETRY
temporal geometry type
Definition: meos_catalog.h:116
bool ensure_not_null(void *ptr)
Ensure that the pointer is not null.
Definition: temporal.c:136
bool ensure_temporal_isof_type(const Temporal *temp, meosType type)
Ensure that a temporal value is of a temporal type.
Definition: temporal.c:294
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:173

Macro ensuring that a temporal value is a temporal geometry.

Note
The macro works for the Temporal type and its subtypes TInstant, TSequence, and TSequenceSet