- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/UIElements/TextUI/Query/VectorTextQuery.cpp ¶
r955b91 rf10b0c 31 31 32 32 33 TextDialog::VectorTextQuery::VectorTextQuery( std::string title, bool _check, std::string _description) :34 Dialog::VectorQuery( title,_check,_description)33 TextDialog::VectorTextQuery::VectorTextQuery(Parameter<Vector> ¶m, std::string title, bool _check, std::string _description) : 34 Dialog::VectorQuery(param, title,_check,_description) 35 35 {} 36 36 … … 48 48 getline(std::cin,line); 49 49 50 Vector temp_vector; 51 50 52 // dissect by "," 51 53 double coord = 0.; … … 56 58 std::istringstream stream(std::string(iter, olditer)); 57 59 stream >> coord; 58 t mp[counter++] = coord;60 temp_vector[counter++] = coord; 59 61 olditer = iter; 60 62 } … … 63 65 std::istringstream stream(std::string(olditer, line.end())); 64 66 stream >> coord; 65 t mp[counter++] = coord;67 temp_vector[counter++] = coord; 66 68 } 69 tmp.set(temp_vector); 67 70 68 71 // check vector 69 return World::getInstance().getDomain().isValid(t mp);72 return World::getInstance().getDomain().isValid(temp_vector); 70 73 } 71 74
Note:
See TracChangeset
for help on using the changeset viewer.