Ignore:
Timestamp:
Nov 8, 2005, 5:16:44 PM (20 years ago)
Author:
ansari
Message:

1/ Prise en charge champ de type DateTimeField ds BaseDataTable , DataTable, SwPPFDataTable
2/ Methodes BaseDataTable completees - en particulier Print/WriteASCII, et
decodage de fichiers ASCII

Reza, 8 Nov 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/swppfdtable.cc

    r2827 r2831  
    1717   \warning
    1818   - When creating a table, the output PPF stream (POutPersist) must not be closed
    19    (destroyed) before the call to the SwPPFDataTable object.
    20    - It is not possible to make a complete (deep) copy of a table SwPPFDataTable
     19   (destroyed) before the SwPPFDataTable object is written to the stream.
     20   - It is not possible to make a complete (deep) copy of a SwPPFDataTable
    2121   Copy constructor and equal operator shares the data.
    22    - Although the destructor  DOES NOT save the
    23    table object itself to the memory. You have to use the << operator on the
    24    output PPF stream being used as swap
     22   - The destructor  DOES NOT save the table object itself to the swap
     23   stream. The << operator should be used on the output PPF stream being
     24   used as swap in order to save the table.
    2525
    2626   \sa SOPHYA::MuTyV
     
    9292  mYSwapper.SetInStream(*pis);
    9393  mZSwapper.SetInStream(*pis);
    94   mDSwapper.SetInStream(*pis);
     94  mSSwapper.SetInStream(*pis);
    9595}
    9696
     
    163163      break;
    164164    case DoubleField :
     165    case DateTimeField :
    165166      mDCols[sk] = a.mDCols[ska];
    166167      break;
     
    196197      break;
    197198    case DoubleField :
     199    case DateTimeField :
    198200      mDCols[sk].SwapOutBuffer();
    199201      break;
     
    293295    break;
    294296  case DoubleField :
     297  case DateTimeField :
    295298    ser = mDCols.size();
    296299    mDCols.push_back(SwSegDataBlock<r_8>( mDSwapper,mSegSz));
     
    317320    break;
    318321  case StringField :
    319     ser = mDCols.size();
     322    ser = mSCols.size();
    320323    mSCols.push_back(SwSegDataBlock<string>(mSSwapper, mSegSz));
    321324    mSColIdx.push_back(idx);
     
    335338  // On est oblige de calculer les min-max lors du remplissage
    336339  // On ne peut pas en effet 'relire' le swap pendant l'ecriture
    337   mMin.push_back(0.);
    338   mMax.push_back(0.);
     340  mMin.push_back(9.E39);
     341  mMax.push_back(-9.E39);
    339342  mMinMaxNEnt.push_back(0);
    340343
Note: See TracChangeset for help on using the changeset viewer.