summaryrefslogtreecommitdiff
path: root/project2/regexCheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/regexCheck.cpp')
-rw-r--r--project2/regexCheck.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/project2/regexCheck.cpp b/project2/regexCheck.cpp
index d6e1bb0..62be6b1 100644
--- a/project2/regexCheck.cpp
+++ b/project2/regexCheck.cpp
@@ -3,6 +3,8 @@
#include "appEngine.h"
#include <boost/regex.hpp>
+ElementLoaderImpl<_RegexCheck> regexCheckLoader("regexcheck");
+
_RegexCheck::_RegexCheck(const xmlpp::Element * p) :
_SourceObject(p),
_ParamChecker(p),
@@ -15,8 +17,13 @@ _RegexCheck::~_RegexCheck()
{
}
+void
+_RegexCheck::loadComplete()
+{
+}
+
bool
-_RegexCheck::performCheck(const ApplicationEngine * ep) const
+_RegexCheck::performCheck() const
{
const Glib::ustring & param(applyTo);
return boost::regex_match(param.begin(), param.end(), regex);