PGROUTING  2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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: vicky_vergara@hotmail.com
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 
31 #ifdef __cplusplus
32 
33 #include <cstddef>
34 
35 #else // __cplusplus
36 
37 // for bool
38 #ifdef __GNUC__
39 #pragma GCC diagnostic ignored "-pedantic"
40 #endif
41 
42 #include <postgres.h>
43 
44 #ifdef __GNUC__
45 #pragma GCC diagnostic pop
46 #endif
47 
48 // For NULL & size_t
49 #include <stdlib.h>
50 
51 
52 #endif // __cplusplus
53 
54 // For int64_t etc
55 #include <stdint.h>
56 
57 
58 
59 // used for getting the data
60 typedef
61 enum {
67 } expectType;
68 
69 
70 typedef
71 struct {
72  int colNumber;
73  uint64_t type;
74  bool strict;
75  char *name;
78 
79 
80 #endif // INCLUDE_C_TYPES_COLUMN_INFO_T_H_
expectType
Definition: column_info_t.h:60
uint64_t type
Definition: column_info_t.h:73
expectType eType
Definition: column_info_t.h:76