vrpRouting
0.3
column_info_t.h
Go to the documentation of this file.
1
/*PGR-GNU*****************************************************************
2
File: pgr_types.h
3
4
Copyright (c) 2015 Celia Virginia Vergara Castillo
5
Mail:
[email protected]
6
7
------
8
9
This program is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 2 of the License, or
12
(at your option) any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
23
********************************************************************PGR-GNU*/
26
#ifndef INCLUDE_C_TYPES_COLUMN_INFO_T_H_
27
#define INCLUDE_C_TYPES_COLUMN_INFO_T_H_
28
#pragma once
29
30
/* for int64_t */
31
#ifndef __cplusplus
32
# include <stdbool.h>
33
# include <stdint.h>
34
#endif
35
36
// used for getting the data
37
typedef
38
enum
{
39
INTEGER
,
40
ANY_INTEGER
,
41
ANY_NUMERICAL
,
42
TEXT
,
43
JSONB
,
44
CHAR1
,
45
INTEGER_ARRAY
,
46
ANY_INTEGER_ARRAY
,
47
TIMESTAMP
,
48
INTERVAL
49
}
expectType
;
50
51
52
typedef
53
struct
{
54
int
colNumber
;
55
uint64_t
type
;
56
bool
strict
;
57
char
*
name
;
58
expectType
eType
;
59
}
Column_info_t
;
60
61
62
#endif // INCLUDE_C_TYPES_COLUMN_INFO_T_H_
Column_info_t::colNumber
int colNumber
Definition:
column_info_t.h:54
pgr_alloc
T * pgr_alloc(std::size_t size, T *ptr)
allocates memory
Definition:
pgr_alloc.hpp:66
Column_info_t::strict
bool strict
Definition:
column_info_t.h:56
TEXT
@ TEXT
Definition:
column_info_t.h:42
Column_info_t::name
char * name
Definition:
column_info_t.h:57
option
option(BUILD_DOXY "Set ON|OFF (default=OFF) to build Developers Documentation" ON) if(BUILD_DOXY) message(STATUS "Developers documentation.") find_package(Doxygen $
Definition:
doxygen/CMakeLists.txt:6
INTERVAL
@ INTERVAL
Definition:
column_info_t.h:48
JSONB
@ JSONB
Definition:
column_info_t.h:43
ANY_INTEGER_ARRAY
@ ANY_INTEGER_ARRAY
Definition:
column_info_t.h:46
expectType
expectType
Definition:
column_info_t.h:37
INTEGER_ARRAY
@ INTEGER_ARRAY
Definition:
column_info_t.h:45
Column_info_t::eType
expectType eType
Definition:
column_info_t.h:58
time_msg
void time_msg(char *msg, clock_t start_t, clock_t end_t)
Definition:
time_msg.c:32
ANY_INTEGER
@ ANY_INTEGER
Definition:
column_info_t.h:40
ANY_NUMERICAL
@ ANY_NUMERICAL
Definition:
column_info_t.h:41
Column_info_t::type
uint64_t type
Definition:
column_info_t.h:55
TIMESTAMP
@ TIMESTAMP
Definition:
column_info_t.h:47
CHAR1
@ CHAR1
Definition:
column_info_t.h:44
Column_info_t
Definition:
column_info_t.h:52
INTEGER
@ INTEGER
Definition:
column_info_t.h:39
include
c_types
column_info_t.h
Generated on Tue Nov 15 2022 03:49:51 for vrpRouting by
1.8.17