| 43 | } |
| 44 | |
| 45 | BoxArray |
| 46 | readBoxList (const std::string& file, Box& domain) |
| 47 | { |
| 48 | BoxArray retval; |
| 49 | |
| 50 | std::ifstream ifs; |
| 51 | ifs.open(file.c_str(), std::ios::in); |
| 52 | ifs >> domain; |
| 53 | ifs.ignore(1000,'\n'); |
| 54 | retval.readFrom(ifs); |
| 55 | |
| 56 | return retval; |
| 57 | } |