PGROUTING
3.2
|
#include "c_common/orders_input.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_pd_orders (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info[14], bool matrix_version, PickDeliveryOrders_t *pd_order) |
void | pgr_get_pd_orders (char *pd_orders_sql, PickDeliveryOrders_t **pd_orders, size_t *total_pd_orders) |
Reads the pick-Deliver orders. More... | |
static void | pgr_get_pd_orders_general (char *pd_orders_sql, PickDeliveryOrders_t **pd_orders, size_t *total_pd_orders, bool with_id) |
void | pgr_get_pd_orders_with_id (char *pd_orders_sql, PickDeliveryOrders_t **pd_orders, size_t *total_pd_orders) |
Reads the pick-Deliver orders. More... | |
|
static |
Definition at line 35 of file orders_input.c.
References column_found(), PickDeliveryOrders_t::deliver_close_t, PickDeliveryOrders_t::deliver_node_id, PickDeliveryOrders_t::deliver_open_t, PickDeliveryOrders_t::deliver_service_t, PickDeliveryOrders_t::deliver_x, PickDeliveryOrders_t::deliver_y, PickDeliveryOrders_t::demand, PickDeliveryOrders_t::id, pgr_SPI_getBigInt(), pgr_SPI_getFloat8(), PickDeliveryOrders_t::pick_close_t, PickDeliveryOrders_t::pick_node_id, PickDeliveryOrders_t::pick_open_t, PickDeliveryOrders_t::pick_service_t, PickDeliveryOrders_t::pick_x, and PickDeliveryOrders_t::pick_y.
Referenced by pgr_get_pd_orders_general().
void pgr_get_pd_orders | ( | char * | pd_orders_sql, |
PickDeliveryOrders_t ** | pd_orders, | ||
size_t * | total_pd_orders | ||
) |
Reads the pick-Deliver orders.
[in] | pd_orders_sql | |
[out] | pd_orders | |
[out] | total_pd_orders |
Definition at line 205 of file orders_input.c.
References pgr_get_pd_orders_general().
Referenced by process().
|
static |
Definition at line 78 of file orders_input.c.
References ANY_INTEGER, ANY_NUMERICAL, Column_info_t::colNumber, Column_info_t::eType, fetch_pd_orders(), 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_pd_orders(), and pgr_get_pd_orders_with_id().
void pgr_get_pd_orders_with_id | ( | char * | pd_orders_sql, |
PickDeliveryOrders_t ** | pd_orders, | ||
size_t * | total_pd_orders | ||
) |
Reads the pick-Deliver orders.
[in] | pd_orders_sql | |
[out] | pd_orders | |
[out] | total_pd_orders |
Definition at line 213 of file orders_input.c.
References pgr_get_pd_orders_general().
Referenced by process().