summaryrefslogtreecommitdiff
path: root/project2/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/if.h')
-rw-r--r--project2/if.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/project2/if.h b/project2/if.h
index 68f6595..0a262c2 100644
--- a/project2/if.h
+++ b/project2/if.h
@@ -1,8 +1,8 @@
#ifndef IF_H
#define IF_H
-#include "iterate.h"
-#include "rowView.h"
+#include "noOutputExecute.h"
+#include "view.h"
#include "paramChecker.h"
class IfSet : public virtual IntrusivePtrBase {
@@ -18,7 +18,8 @@ class IfSet : public virtual IntrusivePtrBase {
ParamCheckers checks;
};
-class If : public Iterate, public RowView, public IfSet {
+/// Project2 component to conditionally execute its children
+class If : public NoOutputExecute, public View, public IfSet {
public:
If(const xmlpp::Element *);
@@ -29,6 +30,11 @@ class If : public Iterate, public RowView, public IfSet {
const bool localErrorHandling;
private:
+ typedef Storage<View>::Objects SubViews;
+ SubViews subViews;
+ typedef Storage<NoOutputExecute>::Objects SubNOEs;
+ SubNOEs subNOEs;
+
const std::string & getName() const;
};