Changeset 1673 in Sophya
- Timestamp:
- Oct 6, 2001, 3:23:51 PM (24 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fabtcolread.h
r1659 r1673 51 51 //! Get the FITS file name 52 52 inline string GetFileName(void) {return FitsFN;} 53 //! Get the FITS file pointer (cfistio pointer) 54 inline fitsfile* GetFitsPointer(void) {return FitsPtr;} 53 55 //! Get the number of HDU in the FITS file 54 56 inline int GetNHDU(void) {return NHdu;} -
trunk/SophyaExt/FitsIOServer/fabtwriter.cc
r1669 r1673 343 343 return; 344 344 } 345 346 ///////////////////////////////////////////////// 347 void FitsABTWriter::Print(ostream& os,int lp=1) const 348 { 349 os<<"FitsABTWriter::Print: FitsFN "<<FitsFN<<endl 350 <<" HduType "<<HduType<<" NOverFlow "<<NOverFlow 351 <<" NCol "<<Label.size()<<endl; 352 if(Label.size()>0 && lp>=1) 353 for(int i=0;i<(int)Label.size();i++) 354 os<<i<<"... Label="<<Label[i]<<" TForm="<<TForm[i]<<" TUnit="<<TUnit[i]<<endl; 355 } -
trunk/SophyaExt/FitsIOServer/fabtwriter.h
r1660 r1673 49 49 inline unsigned long GetNOverFlow(void) {return NOverFlow;} 50 50 51 //! Return the number of created columns 52 inline int GetNbCol(void) {return (int) Label.size();} 53 54 //! Print to os 55 virtual void Print(ostream& os,int lp=1) const; 56 //! Print to stdout 57 inline void Print(int lp=1) const {Print(cout,lp);} 58 51 59 protected: 52 60 void createfits(const char *cfname,int hdutype,int lp);
Note:
See TracChangeset
for help on using the changeset viewer.