34#ifndef __TSPATIAL_PARSER_H__
35#define __TSPATIAL_PARSER_H__
42#include "temporal/meos_catalog.h"
46extern bool srid_parse(
const char **str,
int *srid);
48 int *temp_srid,
Datum *result);
55 bool end,
int *temp_srid);
MeosType
Enumeration that defines the built-in and temporal types used in MobilityDB.
Definition: meos_catalog.h:55
interpType
Enumeration that defines the interpolation types used in MEOS.
Definition: meos.h:171
External API of the Mobility Engine Open Source (MEOS) library.
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Definition: postgis_ext_defs.in.h:170
Structure to represent spatiotemporal boxes.
Definition: meos.h:144
Structure to represent temporal values of instant subtype.
Definition: meos.h:195
Structure to represent temporal values of sequence set subtype.
Definition: meos.h:234
Structure to represent temporal values of sequence subtype.
Definition: meos.h:212
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:183
STBox * stbox_parse(const char **str)
Parse a spatiotemporal box from the buffer.
Definition: tspatial_parser.c:89
TSequence * tspatialseq_disc_parse(const char **str, MeosType temptype, int *temp_srid)
Parse a temporal discrete sequence spatial value from the buffer.
Definition: tspatial_parser.c:404
TInstant * tspatialinst_parse(const char **str, MeosType temptype, bool end, int *temp_srid)
Parse a spatiotemporal instant from the input buffer.
Definition: tspatial_parser.c:374
bool geo_parse(const char **str, MeosType basetype, char delim, int *srid, GSERIALIZED **result)
bool srid_parse(const char **str, int *srid)
Functions for parsing temporal points.
Definition: tspatial_parser.c:54
TSequence * tspatialseq_cont_parse(const char **str, MeosType temptype, interpType interp, bool end, int *temp_srid)
Parse a temporal sequence spatial value from the input buffer.
Definition: tspatial_parser.c:455
Temporal * tspatial_parse(const char **str, MeosType temptype)
Parse a spatiotemporal value from the input buffer.
Definition: tspatial_parser.c:568
bool spatial_parse_elem(const char **str, MeosType temptype, char delim, int *temp_srid, Datum *result)
Parse a spatial base value from the input buffer.
Definition: tspatial_parser.c:326
Temporal * tpoint_parse(const char **str, MeosType temptype)
Parse a temporal point value from the buffer.
Definition: tspatial_parser.c:639
TSequenceSet * tspatialseqset_parse(const char **str, MeosType temptype, interpType interp, int *temp_srid)
Parse a temporal sequence set spatial value from the input buffer.
Definition: tspatial_parser.c:521