#include <MakefileItem.h>
Inheritance diagram for makefile::MakefileItem:

Public Member Functions | |
| MakefileItem () | |
| virtual | ~MakefileItem () |
| Removes the item from the Makefile. | |
| virtual string | toString ()=0 |
| A string representation of the MakefileItem. | |
| void | print (ostream &os) |
| Write the items representation to an ostream in a makefile compatible way. | |
| operator string () | |
| Allow casts to string, very nice! | |
| virtual void | add () |
| Adds this to the Makefile item list. | |
Private Attributes | |
| bool | added |
Subclasses must implement print which allows us to write them to an ostream, like a string, nice :). The various implementations of print have to take care of proper makefile compatible output.
Definition at line 41 of file MakefileItem.h.
|
|
Definition at line 45 of file MakefileItem.h. |
|
|
Removes the item from the Makefile.
Definition at line 51 of file MakefileItem.h. |
|
|
Adds this to the Makefile item list.
Definition at line 71 of file MakefileItem.h. Referenced by createfiles_make(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::AssistantMakefilelibExport::createItems(), main(), makefile::tester::TestComment::TestComment(), makefile::tester::TestConditional::TestConditional(), makefile::tester::TestRule::TestRule(), makefile::tester::TestVariable::TestVariable(), trycond(), trymakefile(), and tryrule(). |
|
|
Allow casts to string, very nice!
Definition at line 65 of file MakefileItem.h. |
|
|
Write the items representation to an ostream in a makefile compatible way.
Definition at line 60 of file MakefileItem.h. Referenced by makefile::operator<<(). |
|
|
A string representation of the MakefileItem.
Implemented in makefile::Anything, makefile::Comment, makefile::Conditional, makefile::Newline, makefile::Rule, makefile::VariableDef, and makefile::VariableRef. Referenced by makefile::operator+(). |
|
|
Definition at line 43 of file MakefileItem.h. |
1.3.9.1