ACloudSQLManager.h
Go to the documentation of this file.
1 #ifndef _atm_ACloudSQLManager_h_
2 #define _atm_ACloudSQLManager_h_
3 
4 #include <utl/ErrorLogger.h>
5 #include <utl/config.h>
6 
7 #ifdef AUGER_SQLITE_ENABLED
8 # include <det/VSQLManager_SQLite.h>
9 #else
10 # include <det/VSQLManager_MySQL.h>
11 #endif
12 
13 
14 namespace atm {
15 
26 
27  public:
29 
33  VSQLMANAGER_GETDATA_GETDBDATA(std::vector<double>)
34  VSQLMANAGER_GETDATA_GETDBDATA(std::vector<int>)
35  VSQLMANAGER_GETDATA_GETDBDATA(std::vector<std::string>)
36  // VSQLMANAGER_GETDATA_GETDBDATA(std::vector<std::vector<int> >);
37 
38  //VMANAGER_GETDATA_DENIED(unsigned long long int)
39  VMANAGER_GETDATA_DENIED(std::vector<bool>)
42  VMANAGER_GETDATA_DENIED(std::list<double>)
43  VMANAGER_GETDATA_DENIED(std::list<int>)
44  VMANAGER_GETDATA_DENIED(std::list<std::string>)
45  VMANAGER_GETDATA_DENIED(std::list<std::pair<int, int>>)
46  VMANAGER_GETDATA_DENIED(std::map<int, utl::TabulatedFunction>)
47  VMANAGER_GETDATA_DENIED(std::map<std::string, double>)
48 
49  VMANAGER_GETDATA_DECLARE(std::vector<std::vector<int>>);
50 
51  private:
52  virtual Status GetDBResFundamental(const std::string& tableName,
53  const std::string& columnName,
54  const IndexMap& componentIndex) const;
55 
57 
58  };
59 
60 }
61 
62 
63 #endif
virtual Status GetDBResFundamental(const std::string &tableName, const std::string &columnName, const IndexMap &componentIndex) const
overload this in all derived managers that need it
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
VMANAGER_GETDATA_DECLARE(std::vector< std::vector< int >>)
#define VMANAGER_GETDATA_HANDLE_DENIED
Definition: VManager.h:75
#define VSQLMANAGER_GETDATA_GETDBDATA(_T_...)
Manager for cloudy portion of atmospheric monitoring database.
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.