Changeset 1047 in Sophya for trunk/SophyaExt/FitsIOServer/fitsxntuple.h
- Timestamp:
- Jun 15, 2000, 12:22:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsxntuple.h
r972 r1047 22 22 FITS_XNTuple(char inputfile[],int hdunum=2); 23 23 FITS_XNTuple(const XNTuple & obj); 24 FITS_XNTuple(XNTuple* obj); 24 25 ~FITS_XNTuple(); 26 void Read(char inputfile[],int hdunum=2); 27 28 /*! 29 fill the XNTuple only with lines from firstLine-th to (firstLine+numberOfLines-1)-th of the FITS-file inputfile. 30 \param <firstLine> first line to be read (the first line of the file is numbered 0) 31 \param <numberOfLines> number of lines to be read 32 */ 33 void ReadLines(char inputfile[],int firstLine, int numberOfLines,int hdunum=2); 25 34 void Write(char outputfile[], bool OldFile=false); 26 35 inline operator XNTuple() { return(*dobj_); } … … 29 38 30 39 // implementation de FitsFile 31 virtual void ReadFromFits(FitsFile& fn); 32 virtual void WriteToFits(FitsFile& fn); 40 // virtual void ReadFromFits(FitsFile& fn); 41 virtual void ReadFromFits(); 42 virtual void WriteToFits(); 33 43 void* getColFromObj(int colNr); 34 44 double* getColDFromObj(int colNr); … … 37 47 char** getColSFromObj(int colNr); 38 48 49 private : 50 51 void Clean(); 52 53 inline void InitNull() 54 { 55 fistLineToBeRead_= -1; 56 numberOfLinesToBeRead_= -1; 57 dcolumn_ = NULL; 58 fcolumn_ = NULL; 59 icolumn_ = NULL; 60 ccolumn_ = NULL; 61 } 62 39 63 // attributs de classe 40 64 XNTuple* dobj_; 41 bool ownobj; 65 bool ownobj_; 66 int fistLineToBeRead_; 67 int numberOfLinesToBeRead_; 42 68 double* dcolumn_; 43 69 float* fcolumn_;
Note:
See TracChangeset
for help on using the changeset viewer.