Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions include/cpp_common/pgdata_getters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,18 @@ std::vector<IID_t_rt> get_matrixRows(const std::string&);
/** @brief Reads the pick-Deliver orders */
std::vector<Orders_t> get_orders(const std::string&, bool);

/** @brief Read rows of points */
std::vector<Point_on_edge_t> get_points(const std::string&);
/**
* @brief Read rows of points
*
* For queries of the type:
* ~~~~{.c}
* SELECT pid, edge_id, fraction, side FROM points;
* ~~~~
Comment thread
coderabbitai[bot] marked this conversation as resolved.
*
* @param[in] sql The points query
* @returns vector of `Point_on_edge_t`
*/
std::vector<Point_on_edge_t> get_points(const std::string& sql);

/** @brief Read rows of matrix */
std::vector<Restriction_t> get_restrictions(const std::string&);
Expand Down