Changeset 1507 in Sophya for trunk/SophyaExt/FitsIOServer/fbtntintf.h
- Timestamp:
- May 22, 2001, 12:22:18 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fbtntintf.h
r1505 r1507 18 18 class FitsBTNtuIntf : public AnyDataObj, public NTupleInterface { 19 19 public: 20 FitsBTNtuIntf(string fname,int ihdu=0, uint_4 blen=100,uint_2 lp=0);21 FitsBTNtuIntf(char *cfname,int ihdu=0, uint_4 blen=100,uint_2 lp=0);22 FitsBTNtuIntf(FitsBTNtuIntf& fbtnt); 20 FitsBTNtuIntf(string fname,int ihdu=0,int_4 blen=100,int_4 bsens=1,uint_2 lp=0); 21 FitsBTNtuIntf(char *cfname,int ihdu=0,int_4 blen=100,int_4 bsens=1,uint_2 lp=0); 22 FitsBTNtuIntf(FitsBTNtuIntf& fbtnt); 23 23 FitsBTNtuIntf(); 24 24 virtual ~FitsBTNtuIntf(); 25 25 26 26 void SetNulVal(r_8 nulval=0.) {NulVal = nulval;} 27 void ChangeBuffer(int_4 blen,int_4 bsens=1); 27 28 virtual void Print(ostream& os,int lp=1) const; 28 29 inline void Print(int lp=1) const {Print(cout,lp);} … … 35 36 36 37 protected: 38 inline void SetBuffer(int_4 blen=100,int_4 bsens=1) 39 {BuffLen = (blen<=0)?1:blen; BuffSens = bsens;} 40 void DeAllocBuff(void); 41 void AllocBuff(void); 37 42 void Init(void); 38 43 void Delete(void); … … 46 51 int NBcol; 47 52 r_8 NulVal; 48 uint_4 BuffLen;53 int_4 BuffLen, BuffSens; 49 54 mutable uint_4 NFitsRead; 50 55 mutable long LineDeb, LineFin;
Note:
See TracChangeset
for help on using the changeset viewer.