AGOESSQLManager.h
Go to the documentation of this file.
1 #ifndef _atm_AGOESSQLManager_h_
2 #define _atm_AGOESSQLManager_h_
3 
4 #include <utl/config.h>
5 
6 #ifdef AUGER_SQLITE_ENABLED
7 # include <det/VSQLManager_SQLite.h>
8 #else
9 # include <det/VSQLManager_MySQL.h>
10 #endif
11 
12 
13 namespace atm {
14 
24 
25  public:
26  //VMANAGER_GETDATA_DENIED(int)
28 
29  VMANAGER_GETDATA_DENIED(std::vector<double>)
30  VMANAGER_GETDATA_DENIED(std::string)
31  VMANAGER_GETDATA_DENIED(std::vector<int>)
32  VMANAGER_GETDATA_DENIED(std::vector<std::string>)
34  //VMANAGER_GETDATA_DENIED(unsigned long long int)
35  VMANAGER_GETDATA_DENIED(std::vector<bool>)
38  VMANAGER_GETDATA_DENIED(std::list<double>)
39  VMANAGER_GETDATA_DENIED(std::list<int>)
40  VMANAGER_GETDATA_DENIED(std::list<std::string>)
41  VMANAGER_GETDATA_DENIED(std::list<std::pair<int, int>>)
42  VMANAGER_GETDATA_DENIED(std::map<int, utl::TabulatedFunction>)
43  VMANAGER_GETDATA_DENIED(std::map<std::string, double>)
44  VMANAGER_GETDATA_DECLARE(std::map<unsigned int, int>)
45 
46  private:
47  // for fundamental types
48  virtual Status GetDBResFundamental(const std::string& tableName,
49  const std::string& columnName,
50  const IndexMap& componentIndex) const;
51 
53 
54  };
55 
56 }
57 
58 
59 #endif
Class to hold collection (x,y) points and provide interpolation between them.
Interface for detector managers that use MySQL.
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
#define VMANAGER_GETDATA_DENIED(_T_...)
Definition: VManager.h:21
#define VMANAGER_GETDATA_HANDLE_DENIED
Definition: VManager.h:75
#define VMANAGER_GETDATA_DECLARE(_T_...)
Definition: VManager.h:69
#define VSQLMANAGER_GETDATA_GETDBDATA(_T_...)
virtual Status GetDBResFundamental(const std::string &tableName, const std::string &columnName, const IndexMap &componentIndex) const
overload this in all derived managers that need it
std::map< std::string, std::string > IndexMap
Definition: VManager.h:133
Status
Specifies success or (eventually) various possible failure modes.
Definition: VManager.h:127

, generated on Tue Sep 26 2023.