- Timestamp:
- Jan 26, 2011, 12:11:11 PM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncantex.cpp
r2886 r2887 57 57 it.next(); 58 58 delete it.value(); 59 } 60 } 61 62 // 63 //////////////////////////////////////////////////////////////////////////// 64 void bncAntex::print() const { 65 QMapIterator<QString, t_antMap*> it(_maps); 66 while (it.hasNext()) { 67 it.next(); 68 t_antMap* map = it.value(); 69 cout << map->antName.toAscii().data() << endl; 59 70 } 60 71 } -
trunk/BNC/bncantex.h
r2884 r2887 35 35 bncAntex(); 36 36 ~bncAntex(); 37 t_irc readFile(const QString& fileName); 37 t_irc readFile(const QString& fileName); 38 void print() const; 38 39 39 40 private: -
trunk/BNC/bncmodel.cpp
r2883 r2887 264 264 if (_antex->readFile(antexFileName) != success) { 265 265 emit newMessage("wrong ANTEX file", false); 266 } 267 delete _antex; 268 _antex = 0; 266 delete _antex; 267 _antex = 0; 268 } 269 } 270 271 if (_antex) { 272 _antex->print(); 269 273 } 270 274 }
Note:
See TracChangeset
for help on using the changeset viewer.