Changeset 2831 in Sophya for trunk/SophyaLib/HiStats/swppfdtable.cc
- Timestamp:
- Nov 8, 2005, 5:16:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/swppfdtable.cc
r2827 r2831 17 17 \warning 18 18 - 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 tableSwPPFDataTable19 (destroyed) before the SwPPFDataTable object is written to the stream. 20 - It is not possible to make a complete (deep) copy of a SwPPFDataTable 21 21 Copy constructor and equal operator shares the data. 22 - Although the destructor DOES NOT save the23 table object itself to the memory. You have to use the << operator on the24 output PPF stream being used as swap22 - 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. 25 25 26 26 \sa SOPHYA::MuTyV … … 92 92 mYSwapper.SetInStream(*pis); 93 93 mZSwapper.SetInStream(*pis); 94 m DSwapper.SetInStream(*pis);94 mSSwapper.SetInStream(*pis); 95 95 } 96 96 … … 163 163 break; 164 164 case DoubleField : 165 case DateTimeField : 165 166 mDCols[sk] = a.mDCols[ska]; 166 167 break; … … 196 197 break; 197 198 case DoubleField : 199 case DateTimeField : 198 200 mDCols[sk].SwapOutBuffer(); 199 201 break; … … 293 295 break; 294 296 case DoubleField : 297 case DateTimeField : 295 298 ser = mDCols.size(); 296 299 mDCols.push_back(SwSegDataBlock<r_8>( mDSwapper,mSegSz)); … … 317 320 break; 318 321 case StringField : 319 ser = m DCols.size();322 ser = mSCols.size(); 320 323 mSCols.push_back(SwSegDataBlock<string>(mSSwapper, mSegSz)); 321 324 mSColIdx.push_back(idx); … … 335 338 // On est oblige de calculer les min-max lors du remplissage 336 339 // 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); 339 342 mMinMaxNEnt.push_back(0); 340 343
Note:
See TracChangeset
for help on using the changeset viewer.