Closed cvvergara closed 5 months ago
Something happened on the cpplint that is not working anymore on the CI. But locally it is ok
@cvvergara I encountered the following build error on my M1 MacBook Pro environment.
And changing the following was necessary to pass the build.
--- a/src/cpp_common/combinations.cpp
+++ b/src/cpp_common/combinations.cpp
@@ -24,12 +24,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
********************************************************************PGR-GNU*/
-#include "cpp_common/combinations.hpp"
-
#include <map>
#include <set>
#include <deque>
#include <vector>
+#include "cpp_common/combinations.hpp"
#include "cpp_common/pgdata_getters.hpp"
#include "cpp_common/basePath_SSEC.hpp"
After the build, it seems to be fine, but I will check more at tomorrow.
Moving the input queries from the C code into the C++ code.
Before this change
On the C file:
process
within each C file example are very similarx
MB in memorypgr_do_function
defined on the driverOn the driver C++ file:
The ideal situation:
General steps to reach the ideal situation 1) Be able to read the PostgreSQL data on the C++ code 2) Create the templates 3) Build the boost graphs based on the templates needs
This PR is step 1
In rough terms, moving the reading of the data to C++.
The sketch of the C & C++ driver files for the first step:
On the C file:
header
linked as Cprocess
within each C file will still be very similarpgr_do_function
defined on the driverOn the driver C++ file:
x
MB in memorytasks
pgdata_getters
andpgdata_fetchers
totrsp_pgget
&trsp_pgfetch
trsp_pgget
is the deprecatedpgr_trsp
functiontrsp_pgget
&trsp_pgfetch
pgdata_getters
andpgdata_fetchers
to be used directly from C++pgdata_getters
andpgdata_fetchers
pgr_do_