PGROUTING  2.6-dev
edges_input.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: edges_input.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_EDGES_INPUT_H_
26 #define INCLUDE_C_COMMON_EDGES_INPUT_H_
27 #pragma once
28 
29 #include "c_types/pgr_flow_t.h"
31 #include "c_types/pgr_edge_t.h"
32 #include "c_types/pgr_edge_xy_t.h"
33 
34 
49  char *edges_sql,
50  pgr_edge_t **edges,
51  size_t *total_edges);
52 
53 
54 
67 void pgr_get_edges(
68  char *edges_sql,
69  pgr_edge_t **edges,
70  size_t *total_edges);
72  char *edges_sql,
73  pgr_edge_t **edges,
74  size_t *total_edges);
75 
76 
77 
90 void pgr_get_edges_xy(
91  char *edges_sql,
92  Pgr_edge_xy_t **edges,
93  size_t *total_edges);
94 
116  char *edges_sql,
117  Pgr_edge_xy_t **edges,
118  size_t *total_edges);
119 
120 
135 void pgr_get_flow_edges(
136  char *sql,
137  pgr_edge_t **edges,
138  size_t *total_edges);
139 
153  char *sql,
154  pgr_basic_edge_t **edges,
155  size_t *total_edges);
156 
157 
158 
159 #endif // INCLUDE_C_COMMON_EDGES_INPUT_H_
void pgr_get_edges_reversed(char *edges_sql, pgr_edge_t **edges, size_t *total_edges)
Definition: edges_input.c:556
void pgr_get_edges(char *edges_sql, pgr_edge_t **edges, size_t *total_edges)
basic edge_sql
Definition: edges_input.c:545
void pgr_get_edges_xy(char *edges_sql, Pgr_edge_xy_t **edges, size_t *total_edges)
Edges with x, y vertices values.
Definition: edges_input.c:578
void pgr_get_edges_no_id(char *edges_sql, pgr_edge_t **edges, size_t *total_edges)
edges_sql without id parameter
Definition: edges_input.c:567
void pgr_get_basic_edges(char *sql, pgr_basic_edge_t **edges, size_t *total_edges)
read basic edges
Definition: edges_input.c:600
void pgr_get_flow_edges(char *sql, pgr_edge_t **edges, size_t *total_edges)
read edges for flow
Definition: edges_input.c:535
void pgr_get_edges_xy_reversed(char *edges_sql, Pgr_edge_xy_t **edges, size_t *total_edges)
for many to 1 on aStar
Definition: edges_input.c:591