Changeset 1047 in Sophya for trunk/SophyaExt/FitsIOServer/fitsntuple.h
- Timestamp:
- Jun 15, 2000, 12:22:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsntuple.h
r972 r1047 22 22 FITS_NTuple(char inputfile[],int hdunum=2); 23 23 FITS_NTuple(const NTuple & obj); 24 FITS_NTuple(NTuple* obj); 24 25 virtual ~FITS_NTuple(); 26 void Read(char inputfile[],int hdunum=2); 27 /*! 28 fill 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); 25 33 void Write(char outputfile[], bool OldFile=false); 26 34 inline operator NTuple() { return(*dobj_); } … … 29 37 30 38 // implementation de FitsFile 31 virtual void ReadFromFits(FitsFile& fn); 32 virtual void WriteToFits(FitsFile& fn); 39 //virtual void ReadFromFits(FitsFile& fn); 40 virtual void ReadFromFits(); 41 virtual void WriteToFits(); 33 42 34 43 float* getColFromObj(int colNr); 35 44 45 private : 46 47 inline void InitNull() 48 { 49 fistLineToBeRead_= -1; 50 numberOfLinesToBeRead_= -1; 51 column_ = NULL; 52 } 53 54 36 55 // attributs de classe 37 56 NTuple* dobj_; 38 bool ownobj; 57 bool ownobj_; 58 int fistLineToBeRead_; 59 int numberOfLinesToBeRead_; 39 60 float* column_; 40 61 };
Note:
See TracChangeset
for help on using the changeset viewer.