diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
| commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
| tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/rule.h | |
| parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
| download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip | |
Fixes to use libbu++ Bu::String
Diffstat (limited to 'src/rule.h')
| -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; |
