summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-28 20:57:46 +0000
committerrandomdan <randomdan@localhost>2011-02-28 20:57:46 +0000
commit413fc265358941a9b0a0afb544f8cf26052d0a05 (patch)
tree543637db56b8a9a4ccdec942b9665a9eab8eee8d
parentAdd support for local error handling (diff)
downloadproject2-413fc265358941a9b0a0afb544f8cf26052d0a05.tar.bz2
project2-413fc265358941a9b0a0afb544f8cf26052d0a05.tar.xz
project2-413fc265358941a9b0a0afb544f8cf26052d0a05.zip
Add missing implementation of noOutputExecute.cpp
-rw-r--r--project2/noOutputExecute.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/project2/noOutputExecute.cpp b/project2/noOutputExecute.cpp
new file mode 100644
index 0000000..7608329
--- /dev/null
+++ b/project2/noOutputExecute.cpp
@@ -0,0 +1,14 @@
+#include "noOutputExecute.h"
+
+NoOutputExecute::NoOutputExecute(const xmlpp::Element * p) :
+ SourceObject(p),
+ isErrorHandler(p->get_attribute_value("onerror") == "true")
+{
+}
+
+NoOutputExecute::NoOutputExecute(const std::string & n) :
+ SourceObject(n),
+ isErrorHandler(false)
+{
+}
+