List of all members.
Public Member Functions
|I *||own (I *item)|
|Takes over ownership of a Manageable allocated with new. |
|MI *||own_add (MI *item)|
|A shortcut. |
Private Member Functions
|Manager (const Manager &)|
|boost::ptr_vector< Manageable >||mitems|
It can work as an owner Manageable instances, and is therefore responsible for their destruction afterwards. The major advantage over holding MakefileItem s in auto-variables is that they get out of scope easily. before Makefile::writeMakefile and cause problems. This class is independent from Makefile. The usage:
Definition at line 58 of file Manager.h.
|makefile::Manager::Manager||(||const Manager &||)||
|I* makefile::Manager::own||(||I *||item||)||
Takes over ownership of a Manageable allocated with new.
On destruction of the Manager item is deleted too.
Referenced by HuginBase::PanoramaMakefilelibExport::createexposure(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::AssistantMakefilelibExport::createItems(), HuginBase::PanoramaMakefilelibExport::createstacks(), main(), makefile::tester::TestComment::TestComment(), makefile::tester::TestConditional::TestConditional(), makefile::tester::TestRule::TestRule(), and makefile::tester::TestVariable::TestVariable().
|MI* makefile::Manager::own_add||(||MI *||item||)||