PGROUTING
3.2
|
#include "c_common/vehicles_input.h"
#include <limits.h>
#include <float.h>
#include "c_types/column_info_t.h"
#include "c_common/debug_macro.h"
#include "c_common/get_check_data.h"
#include "c_common/time_msg.h"
Go to the source code of this file.
Functions | |
static void | fetch_vehicles (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info[16], Vehicle_t *vehicle, bool with_id) |
void | pgr_get_vehicles (char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles) |
Reads the vehicles orders. More... | |
static void | pgr_get_vehicles_general (char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles, bool with_id) |
void | pgr_get_vehicles_with_id (char *vehicles_sql, Vehicle_t **vehicles, size_t *total_vehicles) |
Reads the vehicles orders. More... | |
|
static |
Definition at line 39 of file vehicles_input.c.
References Vehicle_t::cant_v, Vehicle_t::capacity, column_found(), Vehicle_t::end_close_t, Vehicle_t::end_node_id, Vehicle_t::end_open_t, Vehicle_t::end_service_t, Vehicle_t::end_x, Vehicle_t::end_y, Vehicle_t::id, pgr_SPI_getBigInt(), pgr_SPI_getFloat8(), Vehicle_t::speed, Vehicle_t::start_close_t, Vehicle_t::start_node_id, Vehicle_t::start_open_t, Vehicle_t::start_service_t, Vehicle_t::start_x, and Vehicle_t::start_y.
Referenced by pgr_get_vehicles_general().
void pgr_get_vehicles | ( | char * | vehicles_sql, |
Vehicle_t ** | vehicles, | ||
size_t * | total_vehicles | ||
) |
Reads the vehicles orders.
[in] | vehicles_sql | |
[out] | vehicles | |
[out] | total_vehicles |
Definition at line 259 of file vehicles_input.c.
References pgr_get_vehicles_general().
Referenced by process().
|
static |
Definition at line 135 of file vehicles_input.c.
References ANY_INTEGER, ANY_NUMERICAL, Column_info_t::colNumber, Column_info_t::eType, fetch_vehicles(), Column_info_t::name, PGR_DBG, pgr_fetch_column_info(), pgr_SPI_cursor_open(), pgr_SPI_prepare(), Column_info_t::strict, time_msg(), and Column_info_t::type.
Referenced by pgr_get_vehicles(), and pgr_get_vehicles_with_id().
void pgr_get_vehicles_with_id | ( | char * | vehicles_sql, |
Vehicle_t ** | vehicles, | ||
size_t * | total_vehicles | ||
) |
Reads the vehicles orders.
[in] | vehicles_sql | |
[out] | vehicles | |
[out] | total_vehicles |
Definition at line 267 of file vehicles_input.c.
References pgr_get_vehicles_general().
Referenced by process().