/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

IDatabaseSvc.h
Go to the documentation of this file.
00001 #ifndef IDATABASESVC_H
00002 #define IDATABASESVC_H
00003 
00004 // Base classes
00005 #include "GaudiKernel/IInterface.h"
00006 #include <string>
00007 #include <vector>
00008 #include <map>
00009 
00010 typedef std::map<std::string,std::string> DatabaseRecord;
00011 typedef std::vector<DatabaseRecord> DatabaseRecordVector;
00012 
00013 static const InterfaceID IID_IDatabaseSvc("IDatabaseSvc", 1, 0);
00014 
00015 class IDatabaseSvc : virtual public IInterface
00016 {
00017 
00018 public:
00019   static const InterfaceID& interfaceID() { return IID_IDatabaseSvc; }
00020 
00021   virtual int query(const std::string& dbName, const std::string& sql, DatabaseRecordVector& res)=0;
00022 
00023 };
00024 
00025 #endif
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:53:53 for DatabaseSvc by doxygen 1.7.4