Ignore:
Timestamp:
08/19/06 20:22:55 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc

    r7491 r7887  
    129129
    130130#include <errno.h>      // strerror
    131 #include <fstream>      // ifstream
    132131#include <stdlib.h>     // ati, atof
    133132#include <limits.h>     // INT_MAX (Suse 7.3/gcc 2.95)
     
    144143#include "MLog.h"
    145144#include "MLogManip.h"
     145
     146#include "MZlib.h"      // MZlib <ifstream>
    146147
    147148#include "MTime.h"
     
    261262    gLog << inf << "Reading Xephem catalog: " << catalog << endl;
    262263
    263     ifstream fin(catalog);
     264    MZlib fin(catalog);
    264265    if (!fin)
    265266    {
     
    342343    gLog << inf << "Reading NGC2000 catalog: " << catalog << endl;
    343344
    344     ifstream fin(catalog);
     345    MZlib fin(catalog);
    345346    if (!fin)
    346347    {
     
    406407    gLog << inf << "Reading Bright Star Catalog (BSC5) catalog: " << catalog << endl;
    407408
    408     ifstream fin(catalog);
     409    MZlib fin(catalog);
    409410    if (!fin)
    410411    {
     
    478479    gLog << inf << "Reading Heasarc PPM catalog: " << catalog << endl;
    479480
    480     ifstream fin(catalog);
     481    MZlib fin(catalog);
    481482    if (!fin)
    482483    {
     
    582583    gLog << inf << "Reading MAstroCatalog compressed catalog: " << catalog << endl;
    583584
    584     ifstream fin(catalog);
     585    MZlib fin(catalog);
    585586    if (!fin)
    586587    {
     
    735736    if (!str.IsNull())
    736737        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);
    738739    if (txt)
    739740    {
Note: See TracChangeset for help on using the changeset viewer.