Ignore:
Timestamp:
Jun 15, 2000, 12:22:23 PM (25 years ago)
Author:
ansari
Message:

modifs pour introduction lecteur de fits par lignes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsntuple.h

    r972 r1047  
    2222FITS_NTuple(char inputfile[],int hdunum=2);
    2323FITS_NTuple(const NTuple & obj);
     24 FITS_NTuple(NTuple* obj);
    2425virtual ~FITS_NTuple();
     26 void Read(char inputfile[],int hdunum=2);
     27/*!
     28fill the XNTuple only with lines from firstLine-th to (firstLine+numberOfLines-1)-th of the FITS-file inputfile.
     29\param <firstLine>  first line  to be read (the first line of the file is numbered 0)
     30\param <numberOfLines>  number of lines to be read
     31*/
     32 void ReadLines(char inputfile[],int firstLine, int numberOfLines,int hdunum=2);
    2533void Write(char outputfile[], bool OldFile=false);
    2634inline operator NTuple() { return(*dobj_); }
     
    2937
    3038  // implementation de FitsFile
    31 virtual void ReadFromFits(FitsFile& fn);
    32 virtual void WriteToFits(FitsFile& fn);
     39//virtual void ReadFromFits(FitsFile& fn);
     40virtual void ReadFromFits();
     41virtual void WriteToFits();
    3342
    3443float*  getColFromObj(int colNr);
    3544
     45 private :
     46
     47inline void InitNull()
     48   {
     49     fistLineToBeRead_= -1;
     50     numberOfLinesToBeRead_= -1;
     51     column_ = NULL;
     52   }
     53
     54
    3655  // attributs de classe
    3756  NTuple* dobj_;
    38   bool ownobj;
     57  bool ownobj_;
     58  int fistLineToBeRead_;
     59  int numberOfLinesToBeRead_;
    3960  float* column_;
    4061};
Note: See TracChangeset for help on using the changeset viewer.