blob: 1f2937fd7e7b9ca28309f37ac89b575c5315ed4e (
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
|
#ifndef SQLCHECK_H
#define SQLCHECK_H
#include "paramChecker.h"
#include "iHaveParameters.h"
namespace DB { class SelectCommand; }
/// Project2 component to check the value of a variable against an RDBMS data source
class SqlCheck : IHaveParameters, public ParamChecker {
public:
SqlCheck(const xmlpp::Element * p);
virtual ~SqlCheck();
virtual void loadComplete(const CommonObjects *);
bool performCheck() const;
const Variable dataSource;
const Glib::ustring sql;
const std::string testOp;
const VariableType testValue;
private:
DB::SelectCommand * query;
};
#endif
|