blob: 0c5efcc74e70d3865839a4d689ba693939d136af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef SQLCHECK_H
#define SQLCHECK_H
#include "paramChecker.h"
#include "iHaveParameters.h"
namespace ODBC { class SelectCommand; }
class _SqlCheck : public IHaveParameters, public _ParamChecker {
public:
_SqlCheck(const xmlpp::Element * p);
virtual ~_SqlCheck();
virtual void loadComplete();
bool performCheck() const;
const std::string dataSource;
const Glib::ustring sql;
const std::string testOp;
const double testValue;
private:
ODBC::SelectCommand * query;
};
typedef boost::intrusive_ptr<_SqlCheck> SqlCheck;
typedef std::map<std::string, SqlCheck> SqlChecks;
#endif
|