Inheritance diagram for makefile::Conditional:
Public Member Functions
|void||addToIf (MakefileItem &item)|
|void||addToElse (MakefileItem &item)|
|virtual string||toString ()|
Private Member Functions
|virtual string||printif ()=0|
|Output the header line, like ifeq (arg1, arg2). |
|std::vector< MakefileItem * >||ifblock|
|MakefileItem active if the condition is true. |
|std::vector< MakefileItem * >||elseblock|
|MakefileItem in the else block. The else-block is ommited if this is empty. |
Therefore the conditional blocks can contain any one or more MakefileItem. There are four kinds of conditionals, they can start with ifeq, ifneq, ifdef and ifndef. The first two test for equality or non-equality, the latter two are true if a Variable is defined or not. This is the abstract baseclass for all those.
Definition at line 48 of file Conditional.h.
|void makefile::Conditional::addToElse||(||MakefileItem &||item||)||
Referenced by makefile::tester::TestConditional::TestConditional().
|void makefile::Conditional::addToIf||(||MakefileItem &||item||)||
Referenced by main(), and makefile::tester::TestConditional::TestConditional().
|virtual string makefile::Conditional::printif||(||)||