Changeset 7887 for trunk/MagicSoft/Mars/mastro
- Timestamp:
- 08/19/06 20:22:55 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
r7491 r7887 129 129 130 130 #include <errno.h> // strerror 131 #include <fstream> // ifstream132 131 #include <stdlib.h> // ati, atof 133 132 #include <limits.h> // INT_MAX (Suse 7.3/gcc 2.95) … … 144 143 #include "MLog.h" 145 144 #include "MLogManip.h" 145 146 #include "MZlib.h" // MZlib <ifstream> 146 147 147 148 #include "MTime.h" … … 261 262 gLog << inf << "Reading Xephem catalog: " << catalog << endl; 262 263 263 ifstreamfin(catalog);264 MZlib fin(catalog); 264 265 if (!fin) 265 266 { … … 342 343 gLog << inf << "Reading NGC2000 catalog: " << catalog << endl; 343 344 344 ifstreamfin(catalog);345 MZlib fin(catalog); 345 346 if (!fin) 346 347 { … … 406 407 gLog << inf << "Reading Bright Star Catalog (BSC5) catalog: " << catalog << endl; 407 408 408 ifstreamfin(catalog);409 MZlib fin(catalog); 409 410 if (!fin) 410 411 { … … 478 479 gLog << inf << "Reading Heasarc PPM catalog: " << catalog << endl; 479 480 480 ifstreamfin(catalog);481 MZlib fin(catalog); 481 482 if (!fin) 482 483 { … … 582 583 gLog << inf << "Reading MAstroCatalog compressed catalog: " << catalog << endl; 583 584 584 ifstreamfin(catalog);585 MZlib fin(catalog); 585 586 if (!fin) 586 587 { … … 735 736 if (!str.IsNull()) 736 737 str += ": "; 737 str += MString::Form ("Ra=%.2fh Dec=%.1fd Mag=%.1f", ra, dec, mag);738 str += MString::Format("Ra=%.2fh Dec=%.1fd Mag=%.1f", ra, dec, mag); 738 739 if (txt) 739 740 {
Note:
See TracChangeset
for help on using the changeset viewer.