PGROUTING  2.5
get_check_data.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: get_check_data.h
3 
4 Copyright (c) 2015 Celia Virginia Vergara Castillo
5 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*/
24 
25 #ifndef INCLUDE_C_COMMON_GET_CHECK_DATA_H_
26 #define INCLUDE_C_COMMON_GET_CHECK_DATA_H_
27 #pragma once
28 
30 #include "c_types/column_info_t.h"
31 
32 bool column_found(int colNumber);
33 
35  Column_info_t info[],
36  int info_size);
37 
44 
45 
46 char pgr_SPI_getChar(
47  HeapTuple *tuple,
48  TupleDesc *tupdesc,
49  Column_info_t info,
50  bool strict,
51  char default_value);
52 
53 int64_t pgr_SPI_getBigInt(
54  HeapTuple *tuple,
55  TupleDesc *tupdesc,
56  Column_info_t info);
57 
58 double pgr_SPI_getFloat8(
59  HeapTuple *tuple,
60  TupleDesc *tupdesc,
61  Column_info_t info);
62 
63 char* pgr_SPI_getText(
64  HeapTuple *tuple,
65  TupleDesc *tupdesc,
66  Column_info_t info);
67 
68 char* pgr_stradd(const char *a, const char *b);
69 
70 #endif // INCLUDE_C_COMMON_GET_CHECK_DATA_H_
char * pgr_stradd(const char *a, const char *b)
void pgr_check_boolean_type(Column_info_t info)
void pgr_check_text_type(Column_info_t info)
void pgr_check_any_integer_type(Column_info_t info)
char pgr_SPI_getChar(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, bool strict, char default_value)
void pgr_check_any_numerical_type(Column_info_t info)
void pgr_check_char_type(Column_info_t info)
char * pgr_SPI_getText(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
under development
void pgr_check_any_integerarray_type(Column_info_t info)
void pgr_fetch_column_info(Column_info_t info[], int info_size)
double pgr_SPI_getFloat8(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
bool column_found(int colNumber)
int64_t pgr_SPI_getBigInt(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)