Ignore:
Timestamp:
Sep 30, 2001, 7:03:59 PM (24 years ago)
Author:
cmv
Message:
  • plus d'options et de possibilites + doc

cmv 30/9/01

File:
1 edited

Legend:

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

    r1657 r1660  
    2424
    2525  //! Add a new column to the FITS table and return its number (see addcol).
    26   inline int AddCol(string label,int datatype=TDOUBLE
    27                    ,string tform=string(""),string tunit=string(""))
    28      {return addcol(label.c_str(),datatype,tform.c_str(),tunit.c_str());}
     26  inline int AddCol(string label,string tform=string("")
     27                   ,string tunit=string(""),int datatype=TDOUBLE)
     28     {return addcol(label.c_str(),tform.c_str(),tunit.c_str(),datatype);}
    2929  //! Add a new column to the FITS table and return its number (see addcol).
    30   inline int AddCol(const char* label,int datatype=TDOUBLE
    31                    ,const char* tform="",const char* tunit="")
    32      {return addcol(label,datatype,tform,tunit);}
     30  inline int AddCol(const char* label,const char* tform=""
     31                   ,const char* tunit="",int datatype=TDOUBLE)
     32     {return addcol(label,tform,tunit,datatype);}
    3333
    3434  //! Set the FITS table extension name
     
    5151protected:
    5252  void createfits(const char *cfname,int hdutype,int lp);
    53   int addcol(const char* label,int datatype
    54             ,const char* tform,const char* tunit);
     53  int addcol(const char* label,const char* tform
     54            ,const char* tunit,int datatype);
    5555  void createtbl(void);
    56   void printerrorwrite(char* type,int col,long row,int sta);
     56  void printerrorwrite(const char* type,int col,long row,int sta);
    5757  void printerror(int sta) const;
    5858
     
    6363  bool FirstTime;
    6464  vector<string> Label;
    65   vector<int> DataType;
    6665  vector<string> TForm;
    6766  vector<string> TUnit;
Note: See TracChangeset for help on using the changeset viewer.