00001 #ifndef LOADPGDB_H 00002 #define LOADPGDB_H 00003 /* commonly used routines for loading results into database */ 00004 //#define HAVE_CXX_STRING_HEADER 00005 00006 #include <string> 00007 #include <map> 00008 #include <vector> 00009 #include <set> 00010 //#include "forest.h" 00011 //#include "libpq++.h" 00012 #include <pqxx> 00013 00014 00015 void deleteCluster(pqxx::connection &pgdb, const std::string &clusterid); 00016 //void addNewCluster(PgDatabase &pgdb, const string &clusterid, int &clusterIdCnt); 00017 void loadClusterIntoDB(pqxx::connection &pgdb, 00018 const std::multimap<int, int> &clusters, int &clusterIdCnt); 00019 00020 #endif
1.5.6