Ignore:
Timestamp:
09/12/11 12:07:41 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: MSFillerUtils and MSWriterUtils added

Test Programs: sd regressions, test_sdsave

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Rewrote MSFiller and MSWriter based on TableTraverse?.
TableTraverse? is changed a bit since it doesn't work on plain table.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/TableTraverse.cpp

    r2289 r2291  
    251251      sizes[i] = typeManagers[i]->sizeOf();
    252252      BaseColumn *baseCol = ROTableColumnBackDoor::baseColumnPtr(cols[i]);
    253       PlainColumn *col = dynamic_cast <PlainColumn *>(baseCol);
    254       if (col) {
    255         const uInt gotRows = col->dataManagerColumn()->
    256           getBlockV(0, nRows, colValues[i]);
    257         DebugAssert(gotRows == nRows, AipsError);
    258       } else {
    259         copyColumnData(colValues[i], typeManagers[i]->sizeOf(), nRows, baseCol);
    260       }
     253      copyColumnData(colValues[i], typeManagers[i]->sizeOf(), nRows, baseCol);
     254//       PlainColumn *col = dynamic_cast <PlainColumn *>(baseCol);
     255//       if (col) {
     256//      const uInt gotRows = col->dataManagerColumn()->
     257//        getBlockV(0, nRows, colValues[i]);
     258//      DebugAssert(gotRows == nRows, AipsError);
     259//       } else {
     260//      copyColumnData(colValues[i], typeManagers[i]->sizeOf(), nRows, baseCol);
     261//       }
    261262    }
    262263
Note: See TracChangeset for help on using the changeset viewer.