MobilityDB  1.0
tnpoint_parser.h
Go to the documentation of this file.
1 /*****************************************************************************
2  *
3  * This MobilityDB code is provided under The PostgreSQL License.
4  *
5  * Copyright (c) 2016-2021, Université libre de Bruxelles and MobilityDB
6  * contributors
7  *
8  * Permission to use, copy, modify, and distribute this software and its
9  * documentation for any purpose, without fee, and without a written
10  * agreement is hereby granted, provided that the above copyright notice and
11  * this paragraph and the following two paragraphs appear in all copies.
12  *
13  * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR
14  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
15  * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
16  * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY
17  * OF SUCH DAMAGE.
18  *
19  * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21  * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON
22  * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO
23  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 
24  *
25  *****************************************************************************/
26 
32 #ifndef __TNPOINT_PARSER_H__
33 #define __TNPOINT_PARSER_H__
34 
35 #include "general/temporal.h"
36 #include "tnpoint.h"
37 
38 /*****************************************************************************/
39 
40 extern npoint *npoint_parse(char **str);
41 extern nsegment *nsegment_parse(char **str);
42 extern Temporal *tnpoint_parse(char **str, Oid basetype);
43 
44 /*****************************************************************************/
45 
46 #endif /* __TNPOINT_PARSER_H__ */
Definition: tnpoint.h:53
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: temporal.h:241
Basic functions for temporal types of any subtype.
Definition: tnpoint.h:45
npoint * npoint_parse(char **str)
Parse a network point value from the buffer.
Definition: tnpoint_parser.c:49
Functions for temporal network points.
nsegment * nsegment_parse(char **str)
Parse a network segment value from the buffer.
Definition: tnpoint_parser.c:85
Temporal * tnpoint_parse(char **str, Oid basetype)