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

#include "sourceObject.h"
#include "variables.h"

/// Base class for Project2 compoments that perform tests/checks
class ParamChecker : public SourceObject {
	public:
		ParamChecker(ScriptNodePtr p);
		virtual ~ParamChecker();

		virtual bool performCheck() const = 0;

		const Variable message;
		const Variable group;
		const Variable present;
};
typedef boost::intrusive_ptr<const ParamChecker> ParamCheckerCPtr;

#endif