gecods_mysql.cpp File Reference

#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[])

Enumeration Type Documentation

enum IdType

Enumerator:
STRID 
INTID 
STRID 
INTID 


Function Documentation

template<class T>
void clusterFromFile ( hatrees< T > &  cluster,
ofstream &  OUT,
const string &  infile 
) [inline]

template<class T>
void clusterFromTable ( UseQueryResult &  res,
hatrees< T > &  clusters 
) [inline]

void createOutputTable ( Connection &  conn,
const string &  outab,
IdType  idtype 
)

References STRID.

Referenced by loadIntoTable().

template<class T>
void loadIntoTable ( hatrees< T > &  cl,
const string &  outab,
Connection &  conn,
IdType  idtype 
) [inline]

References createOutputTable(), and hatrees< T >::getCluster().

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

void usage ( ostream &  os  ) 

This program is adapted to work with the mysql C++ driver. It is based on the hatrees library.


Generated on Wed Aug 10 11:57:01 2011 for Softwares from Orpara by  doxygen 1.5.6