diff options
| author | randomdan <randomdan@localhost> | 2011-12-14 21:42:31 +0000 |
|---|---|---|
| committer | randomdan <randomdan@localhost> | 2011-12-14 21:42:31 +0000 |
| commit | bc8dbfb89265694cba39a5553e3ee15407587c99 (patch) | |
| tree | 4b0a3414ba881a3118630c41ca24129d23f996df /project2/common/if.h | |
| parent | Don't write JSON numbers in scientific notation, use native C++ boolalpha for... (diff) | |
| download | project2-bc8dbfb89265694cba39a5553e3ee15407587c99.tar.bz2 project2-bc8dbfb89265694cba39a5553e3ee15407587c99.tar.xz project2-bc8dbfb89265694cba39a5553e3ee15407587c99.zip | |
Pluggable script engines
XML script parser moved to XML module
Script parsing object multiple instantiation bug fix
Scripts changed to match new standardized format and layout
Diffstat (limited to 'project2/common/if.h')
| -rw-r--r-- | project2/common/if.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/project2/common/if.h b/project2/common/if.h index 28299ba..e27003d 100644 --- a/project2/common/if.h +++ b/project2/common/if.h @@ -7,7 +7,7 @@ class IfSet : public virtual IntrusivePtrBase { public: - IfSet(const xmlpp::Element *); + IfSet(ScriptNodePtr); bool passes() const; private: @@ -15,13 +15,14 @@ class IfSet : public virtual IntrusivePtrBase { enum Mode { And, Or }; Mode mode; typedef ANONORDEREDSTORAGEOF(ParamChecker) ParamCheckers; + protected: ParamCheckers checks; }; /// Project2 component to conditionally execute its children class If : public IHaveSubTasks, public View, public IfSet { public: - If(const xmlpp::Element *); + If(ScriptNodePtr); virtual void execute(const MultiRowSetPresenter*) const; virtual void execute() const; |
