Ignore:
Timestamp:
Oct 5, 2000, 11:17:43 AM (25 years ago)
Author:
ansari
Message:

dvlist dans ecriture ligne a ligne

File:
1 edited

Legend:

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

    r1209 r1219  
    44#ifndef FITSBntblLineRW_SEEN
    55#define FITSBntblLineRW_SEEN
     6#include "dvlist.h"
    67#include "fitsfile.h"
    78//#include "xntuple.h"
     
    5859{
    5960
     61
    6062public:
    61 FITS_BntblLineWriter();
    62  FITS_BntblLineWriter(char inputfile[],int dc, int fc, int ic, int cc, vector<string> names,  WriteMode wrm = clear);
     63 FITS_BntblLineWriter(char inputfile[],int dc, int fc, int ic, int cc, vector<string> names, DVList& dvl, WriteMode wrm = clear);
    6364~FITS_BntblLineWriter();
    6465 void WriteNextLine( BnTblLine& WorkLine);
     66
     67// Renvoie une reference sur l''objet DVList Associe
     68DVList& Info()
     69  {
     70    if (dvl_ == NULL)  dvl_ = new DVList;
     71    return(*dvl_);
     72  }
    6573
    6674 private :
     
    6876inline void InitNull()
    6977   {
     78     dvl_ = NULL;
    7079     outFits_ = NULL;
    7180     nextLineToBeWritten_= 0;
     
    8493  long nextLineToBeWritten_;
    8594  BnTblLine ligne_;
     95  DVList* dvl_;
    8696};
    8797
Note: See TracChangeset for help on using the changeset viewer.