Changeset 11553 for trunk/Mars


Ignore:
Timestamp:
07/24/11 11:01:36 (13 years ago)
Author:
tbretz
Message:
Replaced MZlib with izstream
Location:
trunk/Mars
Files:
4 edited

Legend:

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

    r11428 r11553  
    149149#include "MLogManip.h"
    150150
    151 #include "MZlib.h"      // MZlib <ifstream>
     151#include "izstream.h"   // izstream <ifstream>
    152152
    153153#include "MTime.h"
     
    291291    }
    292292
    293     MZlib fin(catalog);
     293    izstream fin(catalog);
    294294    if (!fin)
    295295    {
     
    379379    }
    380380
    381     MZlib fin(catalog);
     381    izstream fin(catalog);
    382382    if (!fin)
    383383    {
     
    450450    }
    451451
    452     MZlib fin(catalog);
     452    izstream fin(catalog);
    453453    if (!fin)
    454454    {
     
    529529    }
    530530
    531     MZlib fin(catalog);
     531    izstream fin(catalog);
    532532    if (!fin)
    533533    {
     
    640640    }
    641641
    642     MZlib fin(catalog);
     642    izstream fin(catalog);
    643643    if (!fin)
    644644    {
  • trunk/Mars/mfileio/MReadFiles.cc

    r9041 r11553  
    3737#include "MLogManip.h"
    3838
    39 #include "MZlib.h"
     39#include "izstream.h"
    4040#include "MDirIter.h"
    4141
     
    142142
    143143    // open a stream to a zipped or unzipped file
    144     fIn = new MZlib(fFileName);
     144    fIn = new izstream(fFileName);
    145145    if (!*fIn)
    146146    {
  • trunk/Mars/mfileio/MReadFiles.h

    r9032 r11553  
    66#endif
    77
    8 class MZlib;
     8class izstream;
    99
    1010class MReadFiles : public MRead
     
    2525
    2626protected:
    27     MZlib    *fIn;         // the inputfile
     27    izstream *fIn;         // the inputfile
    2828
    2929    // MReadFiles
  • trunk/Mars/mraw/MRawFileRead.cc

    r11447 r11553  
    5050#include "MLogManip.h"
    5151
    52 #include "MZlib.h"
     52#include "izstream.h"
    5353#include "MTime.h"
    5454#include "MParList.h"
     
    127127Byte_t MRawFileRead::IsFileValid(const char *name)
    128128{
    129     MZlib fin(name);
     129    izstream fin(name);
    130130    if (!fin)
    131131        return 0;
     
    164164istream *MRawFileRead::OpenFile(const char *filename)
    165165{
    166     return new MZlib(filename);
     166    return new izstream(filename);
    167167}
    168168
Note: See TracChangeset for help on using the changeset viewer.