summaryrefslogtreecommitdiff
path: root/project2/sqlCheck.h
blob: a5a5ae0aaaf3a33131615a8776057b84dc48feff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SQLCHECK_H
#define SQLCHECK_H

#include "paramChecker.h"
#include "iHaveParameters.h"

class _SqlCheck : public IHaveParameters, public _ParamChecker {
	public:
		_SqlCheck(const xmlpp::Element * p);
		virtual ~_SqlCheck();

		bool performCheck(const ApplicationEngine *) const;

		const std::string dataSource;
		const Glib::ustring sql;
		const std::string testOp;
		const double testValue;
};
typedef boost::shared_ptr<_SqlCheck> SqlCheck;
typedef std::map<std::string, SqlCheck> SqlChecks;

#endif