- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/Query/AtomsTextQuery.cpp
r8df74d rd754bb 22 22 #include <Descriptors/AtomDescriptor.hpp> 23 23 #include <Descriptors/AtomIdDescriptor.hpp> 24 #include "TextUI/ TextDialog.hpp"24 #include "TextUI/Query/TextQuery.hpp" 25 25 26 26 #include "Helpers/Log.hpp" … … 39 39 bool TextDialog::AtomsTextQuery::handle() { 40 40 int idxOfAtom=-1; 41 Log() << Verbose(0) << getTitle();41 std::cout << getDescription() << ": "; 42 42 std::string line; 43 getline( cin,line);43 getline(std::cin,line); 44 44 // dissect by " " 45 45 std::string::iterator olditer = line.begin(); … … 50 50 temp = World::getInstance().getAtom(AtomById(idxOfAtom)); 51 51 if(!temp && idxOfAtom!=-1){ 52 Log() << Verbose(0) << "Invalid Atom Index" << idxOfAtom <<endl;52 std::cout << "Invalid Atom Index" << idxOfAtom << std::endl; 53 53 break; 54 54 } … … 62 62 temp = World::getInstance().getAtom(AtomById(idxOfAtom)); 63 63 if(!temp && idxOfAtom!=-1) { 64 Log() << Verbose(0) << "Invalid Atom Index" << idxOfAtom <<endl;64 std::cout << "Invalid Atom Index" << idxOfAtom << std::endl; 65 65 tmp.push_back(temp); 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.