#include "hatrees.h"#include <map>#include <mysql++.h>#include <string>#include <iostream>Enumerations | |
| enum | IdType { STRID, INTID, STRID, INTID } |
Functions | |
| void | usage (ostream &os) |
| void | createOutputTable (Connection &conn, const string &outab, IdType idtype) |
| template<class T> | |
| void | loadIntoTable (hatrees< T > &cl, const string &outab, Connection &conn, IdType idtype) |
| template<class T> | |
| void | clusterFromFile (hatrees< T > &cluster, ofstream &OUT, const string &infile) |
| template<class T> | |
| void | clusterFromTable (UseQueryResult &res, hatrees< T > &clusters) |
| int | main (int argc, char *argv[]) |
| enum IdType |
| void clusterFromFile | ( | hatrees< T > & | cluster, | |
| ofstream & | OUT, | |||
| const string & | infile | |||
| ) | [inline] |
References hatrees< T >::getNodeCount(), hatrees< T >::readFromFile(), hatrees< T >::showCluster(), hatrees< T >::showClusterByLine(), and hatrees< T >::showStore().
Referenced by main().
| void createOutputTable | ( | Connection & | conn, | |
| const string & | outab, | |||
| IdType | idtype | |||
| ) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References clusterFromFile(), clusterFromTable(), INTID, loadIntoTable(), hatrees< T >::showCluster(), hatrees< T >::showClusterIntId(), STRID, usage, and user.
| void usage | ( | ostream & | os | ) |
This program is adapted to work with the mysql C++ driver. It is based on the hatrees library.
1.5.6