Changeset 07d2cd for molecuilder/src
- Timestamp:
- May 8, 2010, 10:51:22 PM (15 years ago)
- Children:
- 788eeb
- Parents:
- ae8b90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/UIElements/CommandLineWindow.cpp
rae8b90 r07d2cd 11 11 #include "UIElements/CommandLineStatusIndicator.hpp" 12 12 13 #include "Actions/ActionRegistry.hpp" 13 14 #include "Actions/CmdAction/HelpAction.hpp" 14 15 #include "Actions/ParserAction/LoadXyzAction.hpp" 15 16 #include "Actions/ParserAction/SaveXyzAction.hpp" 17 #include "CommandLineParser.hpp" 16 18 17 19 #include <iostream> … … 35 37 36 38 void CommandLineWindow::display() { 39 // go through all possible actions 40 for(std::map<const std::string,Action*>::iterator ActionRunner = ActionRegistry::getInstance().getBeginIter(); ActionRunner != ActionRegistry::getInstance().getEndIter(); ActionRunner++) { 41 // check whether action is present in command line 42 if (CommandLineParser::getInstance().vm.count(ActionRunner->first)) { 43 ActionRunner->second->call(); 44 } 45 } 37 46 } 38 47
Note:
See TracChangeset
for help on using the changeset viewer.