#include <rtreeincluderule.h>
Inheritance diagram for IncludeRule:

Public Member Functions | |
| IncludeRule (Constant *iname, RunRuleList &irunRuleList) | |
| Constructor. | |
| virtual | ~IncludeRule () |
| virtual bool | execute (RuleContext *context, List *phpIn, List *phpOut, List *tplOut, Node::Assignment &assign) const |
| Executer the rule on php. | |
| virtual Rule * | copy () |
| Copies the rule. | |
| virtual Rule * | substitute (const Node::Assignment &assign) |
| Substitutes variables used in the rule. | |
| virtual ostream & | print (ostream &os) const |
| Writes the rule to the stream. | |
Private Attributes | |
| const string | name |
| A name of the rules to include. | |
| RunRuleList & | runRuleList |
| The referece to rulelist in RuleSystem. | |
Definition at line 7 of file rtreeincluderule.h.
|
||||||||||||
|
Constructor.
Definition at line 5 of file rtreeincluderule.cpp. |
|
|
Definition at line 11 of file rtreeincluderule.cpp. |
|
|
Copies the rule.
Implements Rule. Definition at line 44 of file rtreeincluderule.cpp. |
|
||||||||||||||||||||||||
|
Executer the rule on php.
Implements Rule. Definition at line 14 of file rtreeincluderule.cpp. References name, List::print(), and runRuleList. |
|
|
Writes the rule to the stream.
Implements Rule. Definition at line 39 of file rtreeincluderule.cpp. References name. |
|
|
Substitutes variables used in the rule.
Implements Rule. Definition at line 48 of file rtreeincluderule.cpp. |
|
|
A name of the rules to include.
Definition at line 11 of file rtreeincluderule.h. |
|
|
The referece to rulelist in RuleSystem.
Definition at line 13 of file rtreeincluderule.h. Referenced by execute(). |
1.3.3