![]() |
vrpRouting
0.3
|
#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef struct Vehicle_t | Vehicle_t |
Functions | |
void | get_vehicles (char *, Vehicle_t **, size_t *, bool) |
Reads the vehicles information. More... | |
void | get_vehicles_euclidean (char *, Vehicle_t **, size_t *, bool) |
Reads the vehicles information. More... | |
void | get_vehicles_raw (char *, Vehicle_t **, size_t *, bool) |
Reads the vehicles information. More... | |
Definition at line 32 of file vehicles_input.h.
void get_vehicles | ( | char * | sql, |
Vehicle_t ** | rows, | ||
size_t * | total_rows, | ||
bool | with_stops | ||
) |
Reads the vehicles information.
[in] | sql | SQL query to execute |
[in] | with_stops | do not ignore stops column |
[out] | rows | C Container that holds the data |
[out] | total_rows | Total rows recieved |
Definition at line 469 of file vehicles_input.c.
References ANY_INTEGER, ANY_INTEGER_ARRAY, ANY_NUMERICAL, Column_info_t::colNumber, db_get_vehicles(), Column_info_t::eType, INTERVAL, Column_info_t::name, Column_info_t::strict, TIMESTAMP, and Column_info_t::type.
Referenced by process().
void get_vehicles_euclidean | ( | char * | sql, |
Vehicle_t ** | rows, | ||
size_t * | total_rows, | ||
bool | with_stops | ||
) |
Reads the vehicles information.
[in] | sql | SQL query to execute |
[in] | with_stops | do not ignore stops column |
[out] | rows | C Container that holds the data |
[out] | total_rows | Total rows recieved |
Definition at line 569 of file vehicles_input.c.
References ANY_INTEGER, ANY_INTEGER_ARRAY, ANY_NUMERICAL, Column_info_t::colNumber, db_get_vehicles(), Column_info_t::eType, Column_info_t::name, Column_info_t::strict, and Column_info_t::type.
Referenced by process().
void get_vehicles_raw | ( | char * | sql, |
Vehicle_t ** | rows, | ||
size_t * | total_rows, | ||
bool | with_stops | ||
) |
Reads the vehicles information.
[in] | sql | SQL query to execute |
[in] | with_stops | do not ignore stops column |
[out] | rows | C Container that holds the data |
[out] | total_rows | Total rows recieved |
Definition at line 522 of file vehicles_input.c.
References ANY_INTEGER, ANY_INTEGER_ARRAY, ANY_NUMERICAL, Column_info_t::colNumber, db_get_vehicles(), Column_info_t::eType, Column_info_t::name, Column_info_t::strict, and Column_info_t::type.
Referenced by process().