aboutsummaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.h')
-rw-r--r--src/rule.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/rule.h b/src/rule.h
index 5b2bbfd..98c95a6 100644
--- a/src/rule.h
+++ b/src/rule.h
@@ -21,6 +21,11 @@ public:
21 21
22 StringList execute( Build &bld, StringList &lInput, PerformList &lPerf ); 22 StringList execute( Build &bld, StringList &lInput, PerformList &lPerf );
23 23
24 void setTarget( const std::string &sTarget )
25 {
26 this->sTarget = sTarget;
27 }
28
24 std::string getName() 29 std::string getName()
25 { 30 {
26 return sName; 31 return sName;
@@ -46,11 +51,36 @@ public:
46 return lMatches; 51 return lMatches;
47 } 52 }
48 53
54 StringList &getProducesList()
55 {
56 return lProduces;
57 }
58
59 void setAggregate( Function *pAggregate )
60 {
61 this->pAggregate = pAggregate;
62 }
63
64 StringList &getReqStrList()
65 {
66 return lReqStrs;
67 }
68
69 FunctionList &getReqFuncList()
70 {
71 return lReqFuncs;
72 }
73
49private: 74private:
50 std::string sName; 75 std::string sName;
51 FunctionList lMatches; 76 FunctionList lMatches;
52 FunctionList lFilter; 77 FunctionList lFilter;
53 PerformList lPerform; 78 PerformList lPerform;
79 StringList lProduces;
80 std::string sTarget;
81 Function *pAggregate;
82 StringList lReqStrs;
83 FunctionList lReqFuncs;
54}; 84};
55 85
56#endif 86#endif