diff options
Diffstat (limited to 'project2/regexCheck.cpp')
-rw-r--r-- | project2/regexCheck.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/project2/regexCheck.cpp b/project2/regexCheck.cpp index 92b7563..1af5fa1 100644 --- a/project2/regexCheck.cpp +++ b/project2/regexCheck.cpp @@ -3,27 +3,27 @@ #include "commonObjects.h" #include <boost/regex.hpp> -ElementLoaderImpl<_RegexCheck> regexCheckLoader("regexcheck"); +ElementLoaderImpl<RegexCheck> regexCheckLoader("regexcheck"); -_RegexCheck::_RegexCheck(const xmlpp::Element * p) : - _SourceObject(p), - _ParamChecker(p), +RegexCheck::RegexCheck(const xmlpp::Element * p) : + SourceObject(p), + ParamChecker(p), applyTo(p->get_attribute("apply-to")), regex(xmlChildText(p, "regex").raw()) { } -_RegexCheck::~_RegexCheck() +RegexCheck::~RegexCheck() { } void -_RegexCheck::loadComplete(const CommonObjects *) +RegexCheck::loadComplete(const CommonObjects *) { } bool -_RegexCheck::performCheck() const +RegexCheck::performCheck() const { const Glib::ustring & param(applyTo); return boost::regex_match(param.begin(), param.end(), regex); |