ALidarSQLManager.h
Go to the documentation of this file.
1 #ifndef _atm_ALidarSQLManager_h_
2 #define _atm_ALidarSQLManager_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 
29 
30  public:
32 
36  VSQLMANAGER_GETDATA_GETDBDATA(std::vector<double>)
37  VSQLMANAGER_GETDATA_GETDBDATA(std::vector<int>)
38  VSQLMANAGER_GETDATA_GETDBDATA(std::vector<std::string>)
39 
40  //VMANAGER_GETDATA_DENIED(unsigned long long int)
41  VMANAGER_GETDATA_DENIED(std::vector<bool>)
44  VMANAGER_GETDATA_DENIED(std::list<double>)
45  VMANAGER_GETDATA_DENIED(std::list<int>)
46  VMANAGER_GETDATA_DENIED(std::list<std::string>)
47  VMANAGER_GETDATA_DENIED(std::list<std::pair<int, int> >)
48  VMANAGER_GETDATA_DENIED(std::map<int, utl::TabulatedFunction>)
49  VMANAGER_GETDATA_DENIED(std::map<std::string, double>)
50 
51  private:
52  virtual Status GetDBResFundamental(const std::string& tableName,
53  const std::string& columnName,
54  const IndexMap& componentIndex) const;
55 
56  // for vector of fundamental types
57  virtual Status GetDBResVector(const std::string& tableName,
58  const std::string& columnName,
59  const IndexMap& componentIndex) const;
60 
62 
63  };
64 
65 }
66 
67 
68 #endif
69 
70 // Configure (x)emacs for this file ...
71 // Local Variables:
72 // mode: c++
73 // End:
Class to hold collection (x,y) points and provide interpolation between them.
virtual Status GetDBResFundamental(const std::string &tableName, const std::string &columnName, const IndexMap &componentIndex) const
overload this in all derived managers that need it
Interface for detector managers that use MySQL.
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
virtual Status GetDBResVector(const std::string &tableName, const std::string &columnName, const IndexMap &componentIndex) const
overload this in all derived managers that need it
#define VMANAGER_GETDATA_DENIED(_T_...)
Definition: VManager.h:21
Manager for lidar portion of atmospheric monitoring database.
#define VMANAGER_GETDATA_HANDLE_DENIED
Definition: VManager.h:75
#define VSQLMANAGER_GETDATA_GETDBDATA(_T_...)
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.