Ignore:
Timestamp:
May 22, 2001, 12:22:18 PM (24 years ago)
Author:
cmv
Message:

sens +/0/- et ChangeBuffer pour Fits BT+ASCII reader cmv 22/5/01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fbtntintf.h

    r1505 r1507  
    1818class FitsBTNtuIntf : public AnyDataObj, public NTupleInterface {
    1919public:
    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);
    2323  FitsBTNtuIntf();
    2424  virtual ~FitsBTNtuIntf();
    2525
    2626  void SetNulVal(r_8 nulval=0.) {NulVal = nulval;}
     27  void ChangeBuffer(int_4 blen,int_4 bsens=1);
    2728  virtual void Print(ostream& os,int lp=1) const;
    2829  inline  void Print(int lp=1) const {Print(cout,lp);}
     
    3536
    3637protected:
     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);
    3742  void Init(void);
    3843  void Delete(void);
     
    4651  int  NBcol;
    4752  r_8 NulVal;
    48   uint_4 BuffLen;
     53  int_4 BuffLen, BuffSens;
    4954  mutable uint_4 NFitsRead;
    5055  mutable long LineDeb, LineFin;
Note: See TracChangeset for help on using the changeset viewer.