Changeset 1657 in Sophya for trunk/SophyaExt/FitsIOServer/fabtwriter.h
- Timestamp:
- Sep 27, 2001, 7:45:52 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fabtwriter.h
r1654 r1657 37 37 inline void SetExtName(char* extname="") {ExtName = extname;} 38 38 //! Set debug level 39 inline void SetDebug(int lp=0) {DbgLevel = (u int_2) lp;}39 inline void SetDebug(int lp=0) {DbgLevel = (unsigned short) lp;} 40 40 41 void Write(int col,long row,short 42 void Write(int col,long row, longval);43 void Write(int col,long row,float 41 void Write(int col,long row,short val); 42 void Write(int col,long row,int_4 val); 43 void Write(int col,long row,float val); 44 44 void Write(int col,long row,double val); 45 long Write(int col,long row,TVector<int_4>& val); 46 long Write(int col,long row,TVector<float>& val); 47 long Write(int col,long row,TVector<double>& val); 45 48 //! Return the number of overflows managed by cfitsio 46 inline u int_4GetNOverFlow(void) {return NOverFlow;}49 inline unsigned long GetNOverFlow(void) {return NOverFlow;} 47 50 48 51 protected: … … 56 59 string FitsFN,ExtName; 57 60 int HduType; 58 u int_2DbgLevel;61 unsigned short DbgLevel; 59 62 fitsfile *FitsPtr; 60 63 bool FirstTime; … … 63 66 vector<string> TForm; 64 67 vector<string> TUnit; 65 u int_4NOverFlow;68 unsigned long NOverFlow; 66 69 }; 67 70
Note:
See TracChangeset
for help on using the changeset viewer.