vrpRouting  0.3
time_windows_input.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: time_windows_input.h
3 
4 Copyright (c) 2021 pgRouting developers
6 
7 Function's developer:
8 Copyright (c) 2021 Ashish Kumar
10 
11 ------
12 
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
17 
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22 
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 
27  ********************************************************************PGR-GNU*/
28 
29 #ifndef INCLUDE_C_COMMON_VROOM_TIME_WINDOWS_INPUT_H_
30 #define INCLUDE_C_COMMON_VROOM_TIME_WINDOWS_INPUT_H_
31 #pragma once
32 
33 #include <stdbool.h>
34 #include <stddef.h>
35 
37 #include "c_types/column_info_t.h"
39 
40 #ifdef PROFILE
41 #include "c_common/debug_macro.h"
42 #include "c_common/time_msg.h"
43 #endif
44 
46 void
48  char *time_windows_sql,
49  Vroom_time_window_t **time_windows,
50  size_t *total_time_windows,
51  bool is_plain);
52 
54 void
56  char *time_windows_sql,
57  Vroom_time_window_t **time_windows,
58  size_t *total_time_windows,
59  bool is_plain);
60 
61 #endif // INCLUDE_C_COMMON_VROOM_TIME_WINDOWS_INPUT_H_
time_msg.h
Vroom_time_window_t
Time window's attributes.
Definition: vroom_time_window_t.h:46
debug_macro.h
vroom_time_window_t.h
column_info_t.h
get_vroom_time_windows
void get_vroom_time_windows(char *time_windows_sql, Vroom_time_window_t **time_windows, size_t *total_time_windows, bool is_plain)
Reads the VROOM time windows.
Definition: time_windows_input.c:204
get_check_data.h
get_vroom_shipments_time_windows
void get_vroom_shipments_time_windows(char *time_windows_sql, Vroom_time_window_t **time_windows, size_t *total_time_windows, bool is_plain)
Reads the VROOM shipments time windows.
Definition: time_windows_input.c:239