HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Typedefs
HarpoDB.h File Reference
#include "TList.h"
#include "TObjString.h"
#include "TString.h"
#include <map>
#include <list>

Go to the source code of this file.

Data Structures

class  HarpoDBRow
 
class  HarpoDBTable
 
class  HarpoDB
 Harpo Database access class. The class query MySQL database. Deal with (single !) Harpo Database and it tables Remote access to mysql server via ssh ssh -L 3306:llrharpo.in2p3.fr:3306 llrgate01.in2p3.fr mysql access mysql -h 127.0.0.1 -u reader -p harpo reco access: ADD to .cfg rundb: { dburl = "mysql://127.0.0.1/harpo"; dbuser = "reader"; dbpasswd = "ro"; }; TMYSQLxxx res == NULL -> query error res->GetRowCount() == 0 -> ok for command without ruturn (NO SELECT) More...
 

Typedefs

typedef std::map< TString,
TString > 
dbFields
 
typedef std::list< dbFieldsdbResults
 

Typedef Documentation

typedef std::map<TString,TString> dbFields

Definition at line 16 of file HarpoDB.h.

typedef std::list<dbFields> dbResults

Definition at line 21 of file HarpoDB.h.