diff options
Diffstat (limited to '')
| -rw-r--r-- | src/rule.h | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -8,10 +8,10 @@ class Rule | |||
| 8 | { | 8 | { |
| 9 | friend Bu::Formatter &operator<<( Bu::Formatter &f, const Rule &t ); | 9 | friend Bu::Formatter &operator<<( Bu::Formatter &f, const Rule &t ); |
| 10 | public: | 10 | public: |
| 11 | Rule( const Bu::FString &sName ); | 11 | Rule( const Bu::String &sName ); |
| 12 | virtual ~Rule(); | 12 | virtual ~Rule(); |
| 13 | 13 | ||
| 14 | const Bu::FString &getName() const; | 14 | const Bu::String &getName() const; |
| 15 | 15 | ||
| 16 | void setInput( const AstBranch *pNewInput ); | 16 | void setInput( const AstBranch *pNewInput ); |
| 17 | const AstBranch *getInput() const; | 17 | const AstBranch *getInput() const; |
| @@ -22,21 +22,21 @@ public: | |||
| 22 | void addProfile( const AstBranch *pProfile ); | 22 | void addProfile( const AstBranch *pProfile ); |
| 23 | 23 | ||
| 24 | void prepTarget( class Target *pTarget ); | 24 | void prepTarget( class Target *pTarget ); |
| 25 | class Target *createTarget( class Runner &r, const Bu::FString &sInput, | 25 | class Target *createTarget( class Runner &r, const Bu::String &sInput, |
| 26 | class Target *pParent ); | 26 | class Target *pParent ); |
| 27 | bool ruleMatches( class Runner &r, const Bu::FString &sInput ); | 27 | bool ruleMatches( class Runner &r, const Bu::String &sInput ); |
| 28 | 28 | ||
| 29 | void addTag( const Bu::FString &sTag ); | 29 | void addTag( const Bu::String &sTag ); |
| 30 | const StrList &getTagList() const; | 30 | const StrList &getTagList() const; |
| 31 | 31 | ||
| 32 | void setDisplay( const Bu::FString &sStr ); | 32 | void setDisplay( const Bu::String &sStr ); |
| 33 | const Bu::FString &getDisplay() const; | 33 | const Bu::String &getDisplay() const; |
| 34 | 34 | ||
| 35 | void addRequires( const AstBranch *pBr ); | 35 | void addRequires( const AstBranch *pBr ); |
| 36 | 36 | ||
| 37 | private: | 37 | private: |
| 38 | Bu::FString sName; | 38 | Bu::String sName; |
| 39 | Bu::FString sDisplay; | 39 | Bu::String sDisplay; |
| 40 | const AstBranch *pInput; | 40 | const AstBranch *pInput; |
| 41 | AstBranchList lOutput; | 41 | AstBranchList lOutput; |
| 42 | ProfileHash hProfiles; | 42 | ProfileHash hProfiles; |
